Re: Encrypted items in DB

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36728
interpreted = N
texte = > From: Rob Marquardt > Reply-To: (WebCatalog Talk) > Date: Tue, 26 Jun 2001 14:44:08 > To: (WebCatalog Talk) > Subject: Re: Encrypted items in DB > > on 6/26/01 10:52 AM, Brian Stodola at brian@3wdesign.com so noted... > >> I am trying to store encrypted information in a database. I'm using a code >> like [append db=some.db]CCnum=[encrypt >> seed=asdfghjk][cardnumber][/encrypt][/append] >> >> So that latter on the information can be retrieved: >> [founditems] >> [decrypt seed=asdfghjk][ccnum][/decrypt][/founditems] >> >> This works whenever I test it, but when other users on the site add >> information it seems to become garbled. > > Be sure to [url] the encrypted value when appending. Sometimes you can get > lucky and the encoded string has all valid characters, and sometimes you > don't. : ) > > [append db=some.db]CCnum=[url][encrypt > seed=asdfghjk][cardnumber][/encrypt][/url][/append]Thanks Rob, Just a quick follow-up question: Does the retrieval of the data look like this? [decrypt seed=asdfghjk][unurl][CCnum][/unurl][/decrypt]Brian> > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 Washington Avenue North > Minneapolis MN 55401 > 612.330.9863 v > 612.321.9424 f > www.toastdesign.com > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Encrypted items in DB (Kenneth Grome 2001)
  2. Re: Encrypted items in DB (Brian Fries 2001)
  3. Re: Encrypted items in DB (Kenneth Grome 2001)
  4. Re: Encrypted items in DB (Rob Marquardt 2001)
  5. Re: Encrypted items in DB (Brian Stodola 2001)
  6. Re: Encrypted items in DB (Rob Marquardt 2001)
  7. Re: Encrypted items in DB (Brian Fries 2001)
  8. Encrypted items in DB (Brian Stodola 2001)
> From: Rob Marquardt > Reply-To: (WebCatalog Talk) > Date: Tue, 26 Jun 2001 14:44:08 > To: (WebCatalog Talk) > Subject: Re: Encrypted items in DB > > on 6/26/01 10:52 AM, Brian Stodola at brian@3wdesign.com so noted... > >> I am trying to store encrypted information in a database. I'm using a code >> like [append db=some.db]CCnum=[encrypt >> seed=asdfghjk][cardnumber][/encrypt][/append] >> >> So that latter on the information can be retrieved: >> [founditems] >> [decrypt seed=asdfghjk][ccnum][/decrypt][/founditems] >> >> This works whenever I test it, but when other users on the site add >> information it seems to become garbled. > > Be sure to [url] the encrypted value when appending. Sometimes you can get > lucky and the encoded string has all valid characters, and sometimes you > don't. : ) > > [append db=some.db]CCnum=[url][encrypt > seed=asdfghjk][cardnumber][/encrypt][/url][/append]Thanks Rob, Just a quick follow-up question: Does the retrieval of the data look like this? [decrypt seed=asdfghjk][unurl][CCnum][/unurl][/decrypt]Brian> > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 Washington Avenue North > Minneapolis MN 55401 > 612.330.9863 v > 612.321.9424 f > www.toastdesign.com > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Brian Stodola

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:

docs for WebCatalog2 (1997) Field validation problem (1999) [REFERRER] AND Truncation (1998) problems with 2 tags shakur (1997) Further tests with the infamous shipCost (1997) flushdatabases (1997) Help name our technology! (1997) duplicating cart items (1998) Making a page expire with web catalog? (1999) Squares instead of spaces (2001) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) format_to_days on NT (1997) Searching on 3 different fields (2003) Download URL & access on the fly ? (1997) Running 2 two WebCatalog.acgi's (1996) Update quantity (2000) Find one not all, code not working (2003) Tags not being Interpreted (1999) IE Cache Problems... (1999) Credit card number for testing (2003)