Re: [encrypt] blues....
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31446
interpreted = N
texte = >This one has me stumped.... I have a membership database and each>member has a unique member ID number. [membid] On a search results>page, I display the member's name with a link that look like this:>>
seed=joeyd][memberid][/encrypt][/url]>Joseph D'Andrea>>I encrypt the memberid because it is not public and I [url] it>because... well you know why.>>On display.tpl, I have:>>[text]myMembID=[decrypt seed=joeyd][unurl][m][/unurl][/decrypt][/text]>>[search db=xxx-members.db&eqMEMBERIDdata=[myMembID]]>>Sometimes it works fine... and sometimes it can't find the member in>the database. The reason it can't find the member in the database is>because the [decrypt] doesn't give back the correct value.>>Any ideas?>Compare the encrypted values.Encrypted values are not always the same, so this suggestion really should not work at all.Encrypting with a particular seed, can -- and in fact is SUPPOSED TO (according to Grant) -- generate different encryption strings from one time to the next, especially when using the same seed on the same unencrypted text value.Therefore, it would be impossible to compare the encrypted values and expect them to be the same ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
>This one has me stumped.... I have a membership database and each>member has a unique member ID number. [membid] On a search results>page, I display the member's name with a link that look like this:>>[url][encrypt>seed=joeyd][memberid][/encrypt][/url]>Joseph D'Andrea>>I encrypt the memberid because it is not public and I [url] it>because... well you know why.>>On display.tpl, I have:>>[text]myMembID=[decrypt seed=joeyd][unurl][m][/unurl][/decrypt][/text]>>[search db=xxx-members.db&eqMEMBERIDdata=[myMembID]]>>Sometimes it works fine... and sometimes it can't find the member in>the database. The reason it can't find the member in the database is>because the [decrypt] doesn't give back the correct value.>>Any ideas?>Compare the encrypted values.Encrypted values are not always the same, so this suggestion really should not work at all.Encrypting with a particular seed, can -- and in fact is SUPPOSED TO (according to Grant) -- generate different encryption strings from one time to the next, especially when using the same seed on the same unencrypted text value.Therefore, it would be impossible to compare the encrypted values and expect them to be the same ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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
Kenneth Grome
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:
[WebDNA] Duplicate emails (2008)
Just Testing (1997)
oops private message leaked into talk list (1997)
WebCat B13 Mac CGI -- Frames question (1997)
RE: Missing contexts on NT (1997)
URGENT: WebDNA Server Not Running (2003)
Test (2001)
Special delete ... (1997)
[taxRate] [TaxTotal] ? (1997)
woops - speed results - right subject (2002)
Using Plug-In while running 1.6.1 (1997)
WebCommerce: Folder organization ? (1997)
Creating main- and sub-category search (1997)
changing banners on a page without refresh? (2000)
Thanks Grant (1997)
PCS Frames-Default page is solution! (1997)
Major bug report on rootbeer (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
webcat nt (1997)