Re: Using Encrypt/Decrypt

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 55124
interpreted = N
texte = OF COURSE - A COUPLE OF HOURS OF BEING STUPID... BRINGS ONE BACK TO EARTH! THANKS, KEN. On Dec 29, 2003, at 4:56 PM, Kenneth Grome wrote: >> A question on the mechanics of encrypt/decrypt: >> >> No problem using a single instance of E/D, but my objective is to >> pass an encrypted code from page to page: >> >> page1.tpl?c=[encrypt seed=1234][somecode][/encrypt] ....... >> >> decrypt the code on the destination page (this works)... >> [decrypt seed=1234][code][/decrypt] >> do a search with the decrypted code >> >> then re-encrypt it to go to the next page, and repeat the process >> with each pass. >> >> It works once, but no repeat of the encryption process, with the same >> seed or a different one, seems to work. Docs are a little skimpy on >> what is actually going on. >> This use does NOT save anything to disk, but passes the encrypted >> value along each request, decrypts the code for use on the page in a >> secure manner, then re=encrypts it to pass along. >> >> Anyone have any experience here? > > > This doesn't have anything to do with the encrypt/decrypt code. It's > not working because you're not using the [url] context to insure that > the value will pass properly in the URL. If you will simply [url] the > passed value you won't have any problem: > > page1.tpl?c=[url][encrypt seed=1234][somecode][/encrypt] [/url] > > -- > > Kenneth Grome > > ------------------------------------------------------------- > 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/ > > Larry Hewitt360.807.1100 OFFICE HCO, LLC360.807.1103 FAX 1133 Kresky NE #106360.508.6231 CELL Centralia, WA 98531larryh@hewittco.com www.hewittco.comwww.votewashington.org ------------------------------------------------------------- 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: Using Encrypt/Decrypt ( Kenneth Grome 2003)
  2. Re: Using Encrypt/Decrypt ( Larry Hewitt 2003)
  3. Re: Using Encrypt/Decrypt ( Kenneth Grome 2003)
  4. Re: Using Encrypt/Decrypt ( "Andrew Simpson" 2003)
  5. Using Encrypt/Decrypt ( Larry Hewitt 2003)
OF COURSE - A COUPLE OF HOURS OF BEING STUPID... BRINGS ONE BACK TO EARTH! THANKS, KEN. On Dec 29, 2003, at 4:56 PM, Kenneth Grome wrote: >> A question on the mechanics of encrypt/decrypt: >> >> No problem using a single instance of E/D, but my objective is to >> pass an encrypted code from page to page: >> >> page1.tpl?c=[encrypt seed=1234][somecode][/encrypt] ....... >> >> decrypt the code on the destination page (this works)... >> [decrypt seed=1234][code][/decrypt] >> do a search with the decrypted code >> >> then re-encrypt it to go to the next page, and repeat the process >> with each pass. >> >> It works once, but no repeat of the encryption process, with the same >> seed or a different one, seems to work. Docs are a little skimpy on >> what is actually going on. >> This use does NOT save anything to disk, but passes the encrypted >> value along each request, decrypts the code for use on the page in a >> secure manner, then re=encrypts it to pass along. >> >> Anyone have any experience here? > > > This doesn't have anything to do with the encrypt/decrypt code. It's > not working because you're not using the [url] context to insure that > the value will pass properly in the URL. If you will simply [url] the > passed value you won't have any problem: > > page1.tpl?c=[url][encrypt seed=1234][somecode][/encrypt] [/url] > > -- > > Kenneth Grome > > ------------------------------------------------------------- > 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/ > > Larry Hewitt360.807.1100 OFFICE HCO, LLC360.807.1103 FAX 1133 Kresky NE #106360.508.6231 CELL Centralia, WA 98531larryh@hewittco.com www.hewittco.comwww.votewashington.org ------------------------------------------------------------- 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/ Larry Hewitt

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:

[/application] error? (1997) U&P IIS concept (1998) Thanks and Big News!!! (1997) WebCat Admin access w/ClearlyHome p.i. (1997) Odd search results, or odd programmer, not sure which... (2002) Balancing randomness (2000) SiteEdit NewFile.html ? (1997) YACBQ.....(Yet another checkbox question) (2000) WebCommerce: Folder organization ? (1997) 2 passwords (2003) WebCat3.04/w*4/OS8.5.1 and aliases (1999) NT error logs (1997) Need formum software... (2003) WML (2000) Nesting [RAW] (1998) Problem (1997) Showing unopened cart (1997) ShowIf variables (1997) [WebDNA] Poll: Cloud hosting (2016) WCS Newbie question (1997)