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:

Some ThankYou page problems (1997) Help! WebCat2 bug (1997) Using Plug-In while running 1.6.1 (1997) IP Address Ranges in a Database. (2003) Browser Reloads and AddlineItem (1997) Organisation website (2005) Sendmail html/text problem (2003) Major problem (1999) re:check boxes (1997) [SearchString] problem with [search] context (1997) RE: Adding headers to email (1997) this works sometimes and sometimes not (1997) anyone integrated inventory w/ storebuilder? (2003) AJAX with WebDNA (2006) Last Day of the Month (2005) I'm tired of all this! (2000) [CART] inside a [LOOP] (1997) RAM variables (1997) WC Database Format (1997) RE: protect tag on NT (1997)