Re: encryption madness
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59833
interpreted = N
texte = hi Thierryhere is a URL with a very usefull HTML / CSS checkerhttp://validator.w3.org/If you have the code on your comp, use the File Upload feature.The site will check your code against W3C complience and - if any - will show you the mistakes made!HTHreg ritchiepinnebergn. germanypsthis is my first posting here so, if you are used to "bottom posting" - please let me know!Thierry Almy wrote:> 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>> > > >> >> > marginwidth="10" topmargin="10">>>
height="100%">> > | | >
> > > [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 - href="[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/>>-------------------------------------------------------------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:
hi Thierryhere is a URL with a very usefull HTML / CSS checkerhttp://validator.w3.org/If you have the code on your comp, use the File Upload feature.The site will check your code against W3C complience and - if any - will show you the mistakes made!HTHreg ritchiepinnebergn. germanypsthis is my first posting here so, if you are used to "bottom posting" - please let me know!Thierry Almy wrote:> 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>> > > >> >> > marginwidth="10" topmargin="10">>> height="100%">> > | | >
> > > [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 - href="[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/>>-------------------------------------------------------------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/
Squaredancer@t-online.de (Squaredancer)
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:
Shopping Cart Page (1997)
[OT] Server check please (2006)
[append] and SSL (1997)
pull downs (1997)
Date Sorting (1997)
Range search (2003)
Permissions still causing problems... (2002)
File Uploads... (1997)
displaying New products (using [date]) (1997)
Netscape 3.01 can't see db in form (1997)
sku not found (1997)
Date Formats (1997)
RE: Force a number with JavaScript (1998)
Robert Minor duplicate mail (1997)
Occasional crashes with $remove (1997)
Ok here is a question? (1997)
[WebDNA] Happy Valentine's Day! (2012)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Nested tags count question (1997)
CGI Plugin memory (2001)