Re: Orderfile Encryption

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69046
interpreted = N
texte = 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] ----------------- Matthew A Perosi Psi Prime, Inc. 323 Union Blvd Totowa, NJ 07512 Phone: 973-413-8210 Fax: 973-413-8217 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/ > > > ------------------------------------------------------------- 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)
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] ----------------- Matthew A Perosi Psi Prime, Inc. 323 Union Blvd Totowa, NJ 07512 Phone: 973-413-8210 Fax: 973-413-8217 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/ > > > ------------------------------------------------------------- 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/ Matthew A Perosi

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:

Major Security Hole IIS NT (1998) WebCat2 Append problem (B14Macacgi) (1997) [addlineitems] (1997) [lineitems] and [writefile] (1998) Multiple catalog databases and showcart (1997) P3P and IE 6 (2004) [OT] Unix question -solution?- (2002) search form problem.. (1997) A little syntax help (1997) Emailer problem (2000) Separate SSL Server (1997) multiple search commands (1997) Web Cat not returning html? (2000) Next X hits (1996) Drop Down Menus (2002) Frames and WebCat (1997) Progress !! WAS: Trouble with formula.db (1997) WebDNA & HTML Problems (2003) More DateMath problems (1997) WCf2 and nested tags (1997)