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...

WebDNA Modules

A list of the currently available modules...

Download WebDNA Applications

WebDNA applications...

Tips and Tricks

A list of user-submitted tips ...

F.A.Q

A compilation of some user's questions...

Technical Change History

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

Related Readings:

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

Annoying character on writefile

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

Redefining [date] & [time] to match your time zone

Your server is not always in the same time zone as your web site...

Check the Federal Government's Social Security database

The script on the page will check the federal government's social security database...

WebDNA Google Map Mashup

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

File upload example

...