encryption madness

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59832
interpreted = N
texte = I'm trying to figure out how the encryption/decryption works but I'm getting crazy ... I made a small template that encrypts and urls a value, then it uses a link to pass it to itself, decrypt and encrypt it again. Finally it checks if the source value and the final value are the same ... and so on. I can make between 3 and 15 turns, then it fails. Here's the code. I don't know what I'm doing wrong ... Thierry
 
[if "[source]"="[raw][source][/raw]"] [then] source = [text show=t]source=nouser[/text]
final = [text show=t]final=nouser[/text]
count = [math show=t]count=1[/math]
encrypt source = [text show=t]encr=[url][encrypt seed=1664][source][/encrypt][/url][/text] (value for link)
[/then] [else] source = [text show=t]source=[source][/text]
final = [final]
count = [math show=t]count=[count]+1[/math]
decrypt previous = [text show=t]decr=[decrypt seed=1664][unurl][encr][/unurl][/decrypt][/text]
encrypt source = [text show=t]encr=[url][encrypt seed=1664][decr][/encrypt][/url][/text] (value for link)
[/else] [/if] newfinal = [text show=t]newfinal=[decrypt seed=1664][unurl][encr][/unurl][/decrypt][/text]

[if ("[source]"="[final]") & ("[source]"!"")] [then] ok - next [/then] [else] failed [/else] [/if]
------------------------------------------------------------- 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: encryption madness ( Thierry Almy 2004)
  2. Re: encryption madness ( "Scott Anderson" 2004)
  3. Re: encryption madness ( Thierry Almy 2004)
  4. Re: encryption madness ( Squaredancer@t-online.de (Squaredancer) 2004)
  5. encryption madness ( Thierry Almy 2004)
  6. Re: encryption madness (John Hill 2003)
  7. Re: encryption madness (Kimberly D. Walls 2003)
  8. Re: encryption madness (Brian Fries 2003)
  9. Re: encryption madness (Kenneth Grome 2003)
  10. Re: encryption madness (John Hill 2003)
  11. Re: encryption madness (Kimberly D. Walls 2003)
  12. Re: encryption madness (Kenneth Grome 2003)
  13. Re: encryption madness (Kimberly D. Walls 2003)
  14. Re: encryption madness (Kimberly D. Walls 2003)
  15. Re: encryption madness (Kimberly D. Walls 2003)
  16. Re: encryption madness (Stuart Tremain 2003)
  17. Re: encryption madness (Brian Fries 2003)
  18. Re: encryption madness (Kenneth Grome 2003)
  19. Re: encryption madness (Stuart Tremain 2003)
  20. Re: encryption madness (Kenneth Grome 2003)
  21. Re: encryption madness (Donovan 2003)
  22. Re: encryption madness (Glenn Busbin 2003)
  23. Re: encryption madness (Andrew Simpson 2003)
  24. Re: encryption madness (Stuart Tremain 2003)
  25. Re: encryption madness (Tim Robinson 2003)
  26. Re: encryption madness (Andrew Simpson 2003)
  27. Re: encryption madness (Kimberly D. Walls 2003)
  28. Re: encryption madness (Glenn Busbin 2003)
  29. Re: encryption madness (Stuart Tremain 2003)
  30. Re: encryption madness (Rob Marquardt 2003)
  31. Re: encryption madness (Kimberly D. Walls 2003)
  32. Re: encryption madness (Kimberly D. Walls 2003)
  33. Re: encryption madness (Glenn Busbin 2003)
  34. Re: encryption madness (Bob Minor 2003)
I'm trying to figure out how the encryption/decryption works but I'm getting crazy ... I made a small template that encrypts and urls a value, then it uses a link to pass it to itself, decrypt and encrypt it again. Finally it checks if the source value and the final value are the same ... and so on. I can make between 3 and 15 turns, then it fails. Here's the code. I don't know what I'm doing wrong ... Thierry
 
[if "[source]"="[raw][source][/raw]"] [then] source = [text show=t]source=nouser[/text]
final = [text show=t]final=nouser[/text]
count = [math show=t]count=1[/math]
encrypt source = [text show=t]encr=[url][encrypt seed=1664][source][/encrypt][/url][/text] (value for link)
[/then] [else] source = [text show=t]source=[source][/text]
final = [final]
count = [math show=t]count=[count]+1[/math]
decrypt previous = [text show=t]decr=[decrypt seed=1664][unurl][encr][/unurl][/decrypt][/text]
encrypt source = [text show=t]encr=[url][encrypt seed=1664][decr][/encrypt][/url][/text] (value for link)
[/else] [/if] newfinal = [text show=t]newfinal=[decrypt seed=1664][unurl][encr][/unurl][/decrypt][/text]

[if ("[source]"="[final]") & ("[source]"!"")] [then] ok - [thisurl]?source=[source]&final=[newfinal]&encr=[encr]&count=[count]">next [/then] [else] failed [/else] [/if]
------------------------------------------------------------- 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/ Thierry Almy

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:

More news on 5.0 (2003) Help! WebCat2 bug (1997) Shopping carts and reloading pages (1997) Re:Running 2 two WebCatalog.acgi's (1996) Emailer setup (1997) Multiple Pulldowns (1997) WebCat2 - storing unformatted date data? (1997) Great product and great job ! (1997) Serving .wml pages to WAP via webcat (2000) Verifying and adding new users (1997) [OT] Kerio Mailserver (2003) Pre-flight public flag (1997) name of file (2002) Security Issues and WebCommerce Solution (1997) WebCat2 several catalogs? (1997) [ot] ShowIf & HideIf Question (1998) Expiration of Carts (1997) RE: Which [index]? (1997) RE: OK, here goes... (1997) Here is the code: (2000)