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:
Emailer setup (1997)
Using WebCat for product info requests (1997)
Pithy questions on webcommerce & siteedit (1997)
[WriteFile] problems (1997)
WebCat cannot handle compatible search parameters? (1997)
DB Emergency (2002)
WebCatalog for guestbook ? (1997)
Fun with Dates - revisited (again) (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCat2b12plugin - [search] is broken ... not! (1997)
Nested vs conditional (1997)
can WC render sites out? (1997)
Emailer (WebCat2) (1997)
searching with groups (1997)
THANKS!!! ShipCosts.db and debugging (1997)
problems with 2 tags (1997)
Preventing Merchant Settling ? (1997)
Country & Ship-to address & other fields ? (1997)
OT: Web Cams (2003)
[WebDNA] [Delete] doesn delete all... (2009)