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 Consultant 808-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:

    
  1. Re: [encrypt] blues.... (Joseph D'Andrea 2000)
  2. Re: [encrypt] blues.... (Kenneth Grome 2000)
  3. Re: [encrypt] blues.... (Joseph D'Andrea 2000)
  4. Re: [encrypt] blues.... (Kenneth Grome 2000)
  5. Re: [encrypt] blues.... (JHowarth@smithmicro.com 2000)
  6. Re: [encrypt] blues.... (Kenneth Grome 2000)
  7. Re: [encrypt] blues.... (JHowarth@smithmicro.com 2000)
  8. [encrypt] blues.... (Joseph D'Andrea 2000)
  9. Saturday [encrypt] blues.... (Joseph D'Andrea 2000)
>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 Consultant 808-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:

Need help with emailer- 2 issues (1997) about this server and links to who (1997) Automatic POST arg sending? (1998) Changing Date Format in Field (1999) cybercash (1998) [Listfiles] vs Netfinder (1997) .htaccess to make WebDNA serve HTML (2007) Running 2 two WebCatalog.acgi's (1996) attacment pdf (2001) Got WebCat buyer's remorse? (1998) WCS Newbie question (1997) New Guestbook Source (1997) Error Messages Returned to User (1997) [Semi-OT] Eaaaaaasy OSX FTP (2003) USPS - SiteBuilder (2005) CA sales tax (1998) Transfer of data from Invoice to thank you templates (1998) Support ?? (1997) item sorting (1997) AAgghh!! Help, please. SSL strikes again. (1997)