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:

Append File help needed (2000) WebCat2 - Getting to the browser's username/password data (1997) StoreBuilder Q's (2003) setting taxable to true (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [SearchString] problem with [search] context (1997) OT: google (2003) WebCat2b15MacPlugin - showing [math] (1997) Is Typhoon 4 or Typhoon Pro a product? (2000) Export database record - append to other database (2005) Verifying and adding new users (1997) [WebDNA] Permissions Error (2014) Linux Beta Question (2000) [WebDNA] Secure Cookies (2009) OT: WebDNA and LINUX (2004) NT vs Mac (1997) memory in high traffic servers (2004) SiteEdit Pro Update Announcement (1997) Bug with convertchars crashes WebCat!! (1999)