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][encryptseed=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][encryptseed=myseed][ACCOUNTNUM][/encrypt][/url][/setheader][orderfile cart=[cart]][unurl][decrypt seed=myseed][ACCOUNTNUM][/decrypt][/unurl][/orderfile]-----------------Matthew A PerosiPsi Prime, Inc.323 Union BlvdTotowa, NJ 07512Phone: 973-413-8210Fax: 973-413-8217Clint 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:
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][encryptseed=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][encryptseed=myseed][ACCOUNTNUM][/encrypt][/url][/setheader][orderfile cart=[cart]][unurl][decrypt seed=myseed][ACCOUNTNUM][/decrypt][/unurl][/orderfile]-----------------Matthew A PerosiPsi Prime, Inc.323 Union BlvdTotowa, NJ 07512Phone: 973-413-8210Fax: 973-413-8217Clint 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)