Re: Encrypt/Decrypt

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 70300
interpreted = N
texte = Thanks for the info. I created a cookie based login system that might be useful to others using the encrypt/decrypt solution below or a variation on it. It seems decrypt needs no UnUrl when coming from the cookie. Not really sure I can explain, but it works. Do you want to put the cookie login on your site as well? If so, I'll zip up and email to you. Bill On Sat, May 31, 2008 at 11:31 AM, Donovan Brooke wrote: > William DeVaul wrote: >> >> Sorry to revive an old thread from 12/2007, but I was having trouble >> with sporadic failures in encrypt and decrypt usage. >> >> For posterity, this seems to be working 100% for me: >> >>
>> ACCT=[text show=T]accountnumb=123456789[/text]>>>> ENC=[text show=T]enc=[URL][URL][Encrypt>> seed=abcdefg][accountnumb][/Encrypt][/URL][/URL][/text]>>>> DEC=[text show=T]dec=[Decrypt>> seed=abcdefg][UnURL][UnURL][ENC][/UnURL][/UnURL][/Decrypt][/text]>> 
>> >> It also seems to work with 1 url/unurl combination as well: >> >>
>> ACCT=[text show=T]accountnumb=123456789[/text]>>>> ENC=[text show=T]enc=[URL][Encrypt>> seed=abcdefg][accountnumb][/Encrypt][/URL][/text]>>>> DEC=[text show=T]dec=[Decrypt>> seed=abcdefg][UnURL][ENC][/UnURL][/Decrypt][/text]>> 
>> >> NOT TESTED: The double URL may be needed to get the ENC into the >> database but I believe there is one UnUrl when data is pulled from the >> database. >> >> Bill >> >> ------------------------------------------------------------- > > > Bill, right, I had to re-address this not too long ago as well with > a client site. The database should have a disproportionate ratio > of 2 to 1 [urls] to [unurls] as it appears one [unurl] is implied > when grabbing values from the database. Not sure why. Lookups perform > in the same way (1 [unurl] implied)... > > I've never tested 1 url going in and none coming out thoroughly, > but it seems like that may be a good test to do if someone > was game. I've always used two [url]'s going in and one [unurl] > coming out, which has proved to be a robust solution. > > and yes, as far as encrypting non-database variables, I've > found the same... use the same method on both encrypt and decrypt, > with at least 1 encoding. > > Donovan > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > <- Web Development, DTP, Consulting, and Labels -> > PH:> (608) 770-3822 | FAX:>(608) 291-2024 > WEB:> http://www.euca.us & http://www.egg.bz > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Encrypt/Decrypt ( "William DeVaul" 2008)
  2. Re: Encrypt/Decrypt ( Donovan Brooke 2008)
  3. Encrypt/Decrypt ( "William DeVaul" 2008)
  4. Re: Encrypt/Decrypt ( Marc Thompson 2007)
  5. Re: Encrypt/Decrypt ( Stuart Tremain 2007)
  6. Re: Encrypt/Decrypt ( "Gary Krockover" 2007)
  7. Re: Encrypt/Decrypt ( Alex McCombie 2007)
  8. Re: Encrypt/Decrypt ( Marc Thompson 2007)
  9. Re: Encrypt/Decrypt ( Stuart Tremain 2007)
  10. Re: Encrypt/Decrypt ( "Gary Krockover" 2007)
  11. Re: Encrypt/Decrypt ( Phil Herring 2007)
  12. Re: Encrypt/Decrypt ( Donovan Brooke 2007)
  13. Re: Encrypt/Decrypt ( "Gary Krockover" 2007)
  14. Re: Encrypt/Decrypt ( Jim Ziegler 2007)
  15. Re: Encrypt/Decrypt ( Donovan Brooke 2007)
  16. Re: Encrypt/Decrypt ( Matthew A Perosi 2007)
  17. Re: Encrypt/Decrypt ( "Gary Krockover" 2007)
  18. Re: Encrypt/Decrypt ( "Gary Krockover" 2007)
  19. Re: Encrypt/Decrypt ( Bob Minor 2007)
  20. Re: Encrypt/Decrypt ( Stuart Tremain 2007)
  21. Re: Encrypt/Decrypt ( Stuart Tremain 2007)
  22. Re: Encrypt/Decrypt ( Bob Minor 2007)
  23. Re: Encrypt/Decrypt ( Stuart Tremain 2007)
  24. Re: Encrypt/Decrypt ( Phil Herring 2007)
  25. Re: Encrypt/Decrypt ( Stuart Tremain 2007)
  26. Re: Encrypt/Decrypt ( Phil Herring 2007)
  27. Encrypt/Decrypt ( Gary Krockover 2007)
  28. Re: Note on MySQL Encrypt/Decrypt ( Donovan Brooke 2005)
  29. Note on MySQL Encrypt/Decrypt ( "Christian F. Gurney" 2005)
  30. Re: Using Encrypt/Decrypt ( Kenneth Grome 2003)
  31. Re: Using Encrypt/Decrypt ( Larry Hewitt 2003)
  32. Re: Using Encrypt/Decrypt ( Kenneth Grome 2003)
  33. Re: Using Encrypt/Decrypt ( "Andrew Simpson" 2003)
  34. Using Encrypt/Decrypt ( Larry Hewitt 2003)
  35. Re: Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  36. Re: Help Encrypt/Decrypt eMail (Gary Krockover 2003)
  37. Re: Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  38. Re: Help Encrypt/Decrypt eMail (Bob Minor 2003)
  39. Re: Help Encrypt/Decrypt eMail (Bob Minor 2003)
  40. Re: Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  41. Re: Help Encrypt/Decrypt eMail (Frank Nordberg 2003)
  42. Re: Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  43. Re: Help Encrypt/Decrypt eMail (Frank Nordberg 2003)
  44. Re: Help Encrypt/Decrypt eMail (Gary Krockover 2003)
  45. Re: Help Encrypt/Decrypt eMail (Bob Minor 2003)
  46. Re: Help Encrypt/Decrypt eMail (Frank Nordberg 2003)
  47. Re: Help Encrypt/Decrypt eMail (Bob Minor 2003)
  48. Re: Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  49. Re: Help Encrypt/Decrypt eMail (Bob Minor 2003)
  50. Re: Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  51. Re: Help Encrypt/Decrypt eMail (Bob Minor 2003)
  52. Help Encrypt/Decrypt eMail (Joe R. Richardson 2003)
  53. Re: encrypt/decrypt password with authenticate (Brian Fries 2002)
  54. Re: encrypt/decrypt password with authenticate (Lester Emo 2002)
  55. Re: encrypt/decrypt password with authenticate (Alain Russell 2002)
  56. Re: encrypt/decrypt password with authenticate (Gary Krockover 2002)
  57. Re: encrypt/decrypt - are docs correct?? (Alain Russell 2002)
  58. Re: encrypt/decrypt - are docs correct?? (Lester Emo 2002)
  59. Re: encrypt/decrypt - are docs correct?? (Lester Emo 2002)
  60. Re: encrypt/decrypt - are docs correct?? (Alain Russell 2002)
  61. Re: encrypt/decrypt - are docs correct?? (Lester Emo 2002)
  62. Re: encrypt/decrypt - are docs correct?? (Alain Russell 2002)
  63. Re: encrypt/decrypt problems (Stuart Tremain 2001)
  64. Re: encrypt/decrypt problems (Grant Hulbert 2001)
  65. Re: encrypt/decrypt (Kenneth Grome 2001)
  66. Re: encrypt/decrypt (Glenn Busbin 2001)
  67. Re: encrypt/decrypt (Brian Fries 2001)
  68. Re: encrypt/decrypt (Clayton Randall 2001)
  69. Re: encrypt/decrypt (Kalin Mintchev 2001)
  70. Re: encrypt/decrypt actin' funny but I don't know why... (John Butler 2000)
  71. Re: encrypt/decrypt actin' funny but I don't know why... (WebDNA Support 2000)
  72. Re: encrypt/decrypt failing (Wendell Kozak 2000)
  73. Re: encrypt/decrypt failing (Bob Minor 2000)
  74. Re: encrypt/decrypt failing (Kenneth Grome 2000)
  75. Re: encrypt/decrypt failing (Wendell Kozak 2000)
  76. Re: Encrypt/decrypt bug in 3.0.5b12 (Kenneth Grome 1999)
  77. Re: Encrypt/decrypt bug in 3.0.5b12 (Grant Hulbert 1999)
  78. Re: Encrypt/decrypt bug in 3.0.5b12 (Brian B. Burton 1999)
  79. Re: Encrypt/decrypt bug in 3.0.5b12 (Kenneth Grome 1999)
  80. Re: Encrypt/decrypt bug in 3.0.5b12 (Grant Hulbert 1999)
  81. Re: Seed encrypt/decrypt code error or bug? (Will Starck 1999)
  82. Seed encrypt/decrypt code error or bug? (Will Starck 1999)
Thanks for the info. I created a cookie based login system that might be useful to others using the encrypt/decrypt solution below or a variation on it. It seems decrypt needs no UnUrl when coming from the cookie. Not really sure I can explain, but it works. Do you want to put the cookie login on your site as well? If so, I'll zip up and email to you. Bill On Sat, May 31, 2008 at 11:31 AM, Donovan Brooke wrote: > William DeVaul wrote: >> >> Sorry to revive an old thread from 12/2007, but I was having trouble >> with sporadic failures in encrypt and decrypt usage. >> >> For posterity, this seems to be working 100% for me: >> >>
>> ACCT=[text show=T]accountnumb=123456789[/text]>>>> ENC=[text show=T]enc=[url][url][Encrypt>> seed=abcdefg][accountnumb][/Encrypt][/URL][/URL][/text]>>>> DEC=[text show=T]dec=[Decrypt>> seed=abcdefg][unurl][unurl][ENC][/UnURL][/UnURL][/Decrypt][/text]>> 
>> >> It also seems to work with 1 url/unurl combination as well: >> >>
>> ACCT=[text show=T]accountnumb=123456789[/text]>>>> ENC=[text show=T]enc=[url][Encrypt>> seed=abcdefg][accountnumb][/Encrypt][/URL][/text]>>>> DEC=[text show=T]dec=[Decrypt>> seed=abcdefg][unurl][ENC][/UnURL][/Decrypt][/text]>> 
>> >> NOT TESTED: The double URL may be needed to get the ENC into the >> database but I believe there is one UnUrl when data is pulled from the >> database. >> >> Bill >> >> ------------------------------------------------------------- > > > Bill, right, I had to re-address this not too long ago as well with > a client site. The database should have a disproportionate ratio > of 2 to 1 [urls] to [unurls] as it appears one [unurl] is implied > when grabbing values from the database. Not sure why. Lookups perform > in the same way (1 [unurl] implied)... > > I've never tested 1 url going in and none coming out thoroughly, > but it seems like that may be a good test to do if someone > was game. I've always used two [url]'s going in and one [unurl] > coming out, which has proved to be a robust solution. > > and yes, as far as encrypting non-database variables, I've > found the same... use the same method on both encrypt and decrypt, > with at least 1 encoding. > > Donovan > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > <- Web Development, DTP, Consulting, and Labels -> > PH:> (608) 770-3822 | FAX:>(608) 291-2024 > WEB:> http://www.euca.us & http://www.egg.bz > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "William DeVaul"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Re:listfiles-looking for slick solution (1997) 2.1 release (1998) Who is doing sign-ups-got it (1998) Further on formula.db failure to calculate shipCost (1997) New public beta available (1997) any suggestions for creating a multi-lingual site? (1999) searchable list archive (1997) [addlineitems] (1997) Help name our technology! I found it (1997) Whats going on with my SERIAL NUMBER??? (1998) Customer - again (1998) Banner Ads (2000) Server Jumping and Web-networking (2000) [include] error message (was:how to put/keep product customization info in basket?) (1998) [BoldWords] WebCat.acgib15Mac (1997) [group] ? (1997) Custom error files (1998) service stop and restart (1997) Can [writefile] files be served thru webcat? (2000) [/application] error? (1997)