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:

[biotype]

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

Technical Change History

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

WebDNA Modules

A list of the currently available modules...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

F.A.Q

A compilation of some user's questions...

WebDNA Libraries

A list of available libraries for WebDNA...

Related Readings:

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

ImageMagick

Use ImageMagick to manipulate images when you upload them...

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

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

Database backup

How to make a backup of your databases...

Spaghetti code

How to get rid of very long search strings...