in reply to Re: Encrypting strings with more than 8 bytes.
in thread Encrypting strings with more than 8 bytes.
Though Crypt::CreditCard looks like a good approach, the only versions availabe on CPAN are developer releases and the perldoc explicitly states it is not intended for production use at this point.
Unless you want to display the credit card number back to the user at some point (which does not sound like good practice to me) you may want to look into using an asymmetric encryption method (such as GPG) for credit card numbers. This ensures that the numbers cannot be stolen even if both your database and the public key you use to encrypt the data have been compromised (providing you keep the private key off-site and safe).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Encrypting strings with more than 8 bytes.
by diotalevi (Canon) on Jan 13, 2006 at 14:27 UTC | |
by tirwhan (Abbot) on Jan 13, 2006 at 16:37 UTC | |
by diotalevi (Canon) on Jan 13, 2006 at 16:40 UTC | |
by tirwhan (Abbot) on Jan 13, 2006 at 17:02 UTC | |
|