Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely

numero = 53
interpreted = N
texte = The following has worked very well for encrypting and decrypting numbers:
[Text]CCnum_Encrypted=[url][url][Encrypt seed=8chars][CCnumber][/Encrypt][/url][/url][/Text][Text]CCnumber=[Decrypt seed=8chars][unurl][CCnum_Encrypted][/unurl][/Decrypt][/Text]
Replace "8chars" with the seed of your choice (8 characters long), but be sure to keep it secret! (note: in your actual code, there will not be line breaks between the square bracketed units.) The following has worked very well for encrypting and decrypting numbers:
[text]CCnum_Encrypted=[url][url][Encrypt seed=8chars][CCnumber]
[/Encrypt][/url][/url][/Text]

[text]CCnumber=[Decrypt seed=8chars][unurl][CCnum_Encrypted]
[/unurl][/Decrypt][/Text]

Replace "8chars" with the seed of your choice (8 characters long), but be sure to keep it secret!

(note: in your actual code, there will not be line breaks between the square bracketed units.) Marc Thompson

DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

Download WebDNA Applications

WebDNA applications...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Tips and Tricks

A list of user-submitted tips ...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Related Readings:

WebDNA Google Map Mashup

Generate a Google map with pins on your database addresses...

Database backup

How to make a backup of your databases...

Annoying character on writefile

How do I get rid of or convert the line feed character during a writefile?...

Export data to Excel

Here's a handy way to export your data to a text or Excel file...

Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely...

Removing whitespace

How can I remove all whitespace entered by a user from an input box (ie card number)...