Re: Orderfile Encryption

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69047
interpreted = N
texte = The double [url] was discussed at some point on the list. I thought it was required. I'll try with the single [url] and see what happens. On 6/8/07 9:39 AM, "Matthew A Perosi" wrote: > Why are you double [URL]ing? And actually, you [url] and [unurl] > methods do not match. > If you need the double URL the try this: > > [setheader cart=[cart]]ACCOUNTNUM=[url][encrypt > seed=myseed][url][ACCOUNTNUM][/url][/encrypt][/url][/setheader] > > [orderfile cart=[cart]] > [unurl][decrypt seed=myseed][unurl][ACCOUNTNUM][/unurl][/decrypt][/unurl] > [/orderfile] > > > > Otherwise I would think that this would work: > > [setheader cart=[cart]]ACCOUNTNUM=[url][encrypt > seed=myseed][ACCOUNTNUM][/encrypt][/url][/setheader] > > [orderfile cart=[cart]] > [unurl][decrypt seed=myseed][ACCOUNTNUM][/decrypt][/unurl] > [/orderfile] > > > > Clint Davis wrote: >> I'm trying to encrypt the [accountNum] field in my order files during the >> checkout process. When the cart is successfully purchased, the Orders.db is >> updated with the field remaining encrypted. The problem is that I'm losing >> the last 2 digits. >> >> 1234567812345678 becomes 12345678123456. >> >> Is there a limit on the number of characters that can go into the >> [accountNum] field or something? Is there a flaw in my code? >> >> >> [setheader cart=[cart]]ACCOUNTNUM=[url][url][encrypt >> seed=myseed][ACCOUNTNUM][/encrypt][/url][/url][/setheader] >> >> [orderfile cart=[cart]] >> [decrypt seed=myseed][unurl][ACCOUNTNUM][/unurl][/decrypt] >> [/orderfile] ------------------------------------------------------------- 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: Orderfile Encryption ( "Planet DJ (Chris W.)" 2007)
  2. Re: Orderfile Encryption ( Clint Davis 2007)
  3. Re: Orderfile Encryption ( John Peacock 2007)
  4. Re: Orderfile Encryption ( Clint Davis 2007)
  5. Re: Orderfile Encryption ( Clint Davis 2007)
  6. Re: Orderfile Encryption ( Donovan Brooke 2007)
  7. Re: Orderfile Encryption ( Donovan Brooke 2007)
  8. Re: Orderfile Encryption ( John Peacock 2007)
  9. Re: Orderfile Encryption ( Clint Davis 2007)
  10. Re: Orderfile Encryption ( Matthew A Perosi 2007)
The double [url] was discussed at some point on the list. I thought it was required. I'll try with the single [url] and see what happens. On 6/8/07 9:39 AM, "Matthew A Perosi" wrote: > Why are you double [url]ing? And actually, you [url] and [unurl] > methods do not match. > If you need the double URL the try this: > > [setheader cart=[cart]]ACCOUNTNUM=[url][encrypt > seed=myseed][url][ACCOUNTNUM][/url][/encrypt][/url][/setheader] > > [orderfile cart=[cart]] > [unurl][decrypt seed=myseed][unurl][ACCOUNTNUM][/unurl][/decrypt][/unurl] > [/orderfile] > > > > Otherwise I would think that this would work: > > [setheader cart=[cart]]ACCOUNTNUM=[url][encrypt > seed=myseed][ACCOUNTNUM][/encrypt][/url][/setheader] > > [orderfile cart=[cart]] > [unurl][decrypt seed=myseed][ACCOUNTNUM][/decrypt][/unurl] > [/orderfile] > > > > Clint Davis wrote: >> I'm trying to encrypt the [accountNum] field in my order files during the >> checkout process. When the cart is successfully purchased, the Orders.db is >> updated with the field remaining encrypted. The problem is that I'm losing >> the last 2 digits. >> >> 1234567812345678 becomes 12345678123456. >> >> Is there a limit on the number of characters that can go into the >> [accountNum] field or something? Is there a flaw in my code? >> >> >> [setheader cart=[cart]]ACCOUNTNUM=[url][url][encrypt >> seed=myseed][ACCOUNTNUM][/encrypt][/url][/url][/setheader] >> >> [orderfile cart=[cart]] >> [decrypt seed=myseed][unurl][ACCOUNTNUM][/unurl][/decrypt] >> [/orderfile] ------------------------------------------------------------- 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/ Clint Davis

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:

Country & Ship-to address & other fields ? (1997) [/application] error? (1997) WebCat2b15MacPlugin - [protect] (1997) 2.0 Info (1997) RE: [WebDNA] Anyone else getting double emails from this list (2009) Frames and WebCat (1997) multiple search commands (1997) [WebDNA] Anyone know how to setup RSS on a website? (2012) [referrer] -truncates at & (1998) Log-in Scheme (2003) WebDNA module - Automated database archiving (1997) UPS Shipping Formula in WebCat (ot) (1999) emailer (1997) Can I invoke an ssi plugin from within a webcat page (1997) What's New Date (2002) [WebDNA] Video Request: "Faces of WebDNA" (2010) [OT] DNS Problems (2004) ShowNext (1997) Serving .wml pages to WAP via webcat (2000) email error 159 (1998)