************ Output: ************Setting encrypted accountnum to 8%1E%B8D%88Rq%8F%F7%12%C6n%08q%AF%8FThe decrypted value is 300020001000...Encrypted accountnum header is 8%1E%B8D%88Rq%8F%F7%12%C6n%08q%AF%8FDecrypted accountnum header is 300020001000[!]************ WebCat code: ************ [/!][!]This code has a 16-digit input string and does not work properly.[/!][text]encryptednum=[url][encryptseed=TestTest]4000300020001000[/encrypt][/url][/text]Setting encrypted accountnum to [encryptednum]
The decrypted value is [unurl][decryptseed=TestTest][encryptednum][/decrypt][/unurl]...
[setheader cart=[cart]]accountnum=[url][encryptednum][/url][/setheader]Encrypted accountnum header is [accountnum]
Decrypted accountnum header is [decryptseed=TestTest][unurl][accountnum][/unurl][/decrypt]
************ Output: ************Setting encrypted accountnum to%11%D7%C0%84_%F3%03wrG%DF%8En%EFy%5D%AF%85h%28%7F%DEA%A6The decrypted value is 4000300020001000...Encrypted accountnum header is%11%D7%C0%84_%F3%03wrG%DF%8En%EFy%5D%AF%85h%28%7FDecrypted accountnum header is 40003000200010The decrypted header above is missing the last 2 digits.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list ************ Output: ************Setting encrypted accountnum to 8%1E%B8D%88Rq%8F%F7%12%C6n%08q%AF%8FThe decrypted value is 300020001000...Encrypted accountnum header is 8%1E%B8D%88Rq%8F%F7%12%C6n%08q%AF%8FDecrypted accountnum header is 300020001000[!]************ WebCat code: ************ [/!][!]This code has a 16-digit input string and does not work properly.[/!][text]encryptednum=[url][encryptseed=TestTest]4000300020001000[/encrypt][/url][/text]Setting encrypted accountnum to [encryptednum] ************ Output: ************Setting encrypted accountnum to%11%D7%C0%84_%F3%03wrG%DF%8En%EFy%5D%AF%85h%28%7F%DEA%A6The decrypted value is 4000300020001000...Encrypted accountnum header is%11%D7%C0%84_%F3%03wrG%DF%8En%EFy%5D%AF%85h%28%7FDecrypted accountnum header is 40003000200010The decrypted header above is missing the last 2 digits.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list DOWNLOAD WEBDNA NOW! 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...
[url] context twice to convert the encrypted data to a hex-onlyvalue (presumably safer for headers & DB data). I also use the [url] contextinside the SETHEADER context because it seems to automatically unURL data.This way I (hopefully) ensure that the data stored in the header field isdouble-URLed.Thanks in advance for any help / suggestions / workarounds.PeteThe test code and output is below:[!]************ WebCat code: ************ [/!][!]This code has a 12-digit input string and works properly.[/!][text]encryptednum=[url][encryptseed=TestTest]300020001000[/encrypt][/url][/text]Setting encrypted accountnum to [encryptednum]
The decrypted value is [unurl][decryptseed=TestTest][encryptednum][/decrypt][/unurl]...
[setheader cart=[cart]]accountnum=[url][encryptednum][/url][/setheader]Encrypted accountnum header is [accountnum]
Decrypted accountnum header is [decryptseed=TestTest][unurl][accountnum][/unurl][/decrypt]
The decrypted value is [unurl][decryptseed=TestTest][encryptednum][/decrypt][/unurl]...
[setheader cart=[cart]]accountnum=[url][encryptednum][/url][/setheader]Encrypted accountnum header is [accountnum]
Decrypted accountnum header is [decryptseed=TestTest][unurl][accountnum][/unurl][/decrypt]
Top Articles:
Talk List
Related Readings:
emailer w/F2 (1997)
Re:Help name our technology! (1997)
anyone about? (2004)
graphics server, SSL, Netscape 4.0 (off topic) (1998)
Type 11 errors setting up WebCAt 2 (1997)
WebCat shared memory? (1999)
emailer w/F2 (1997)
Kanji in http requests (1998)
Include file not working on remote directory. (2004)
Sorry WebDNA server not running ????? (2002)
searchable list archive (1997)
[showif] not working (2003)
[BULK] [WebDNA] sem_open solved (2012)
Can I invoke an ssi plugin from within a webcat page (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WCS Newbie question (1997)
[shell] command seems flaky (2003)
Format date.... (2003)
Summing fields (1997)
Linux Beta4 problems with multirecord returns (2000)