Re: Orderfile Encryption
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69051
interpreted = N
texte = Doh!I may have found the issue - the [url] was on the outside of the [encrypt],and the [unurl] was on the inside of the [decrypt].A problem?On 6/8/07 7:46 AM, "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:
Doh!I may have found the issue - the [url] was on the outside of the [encrypt],and the [unurl] was on the inside of the [decrypt].A problem?On 6/8/07 7:46 AM, "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:
WebDNA handler in Httpd.conf being erased (2005)
Ignoring the issues ... (2000)
P3P and IE 6 (2004)
Can I do these? (1997)
show all problem (1997)
SKU Question (1999)
Email (1998)
Emailer port change (1997)
extending webcatalog (1997)
processing .html pages (2001)
Permissions / Restart WebDNA? (2005)
Searching multiple fields (1997)
(1997)
Word wrapping (1997)
Linux ODBC and the ODBC Bridge (2000)
Setting up the server (1997)
Using [Include] Context (1999)
DOS variable bug (was SandBox and ImageMagick) (2003)
Creating a back button (1999)
Ampersand (1997)