Hello,
I need to encrypt a short string (less than 80 characters probably) to be stored in a database. However, should the database be compromised, I need the encrypted data to decrypt with a different key so that the data in the database is worthless without the decryption key.
I had a look at "Perl modules for light to moderate encryption" - http://www3.marketrends.net/encrypt/ - but they all used symmetric key encryption (or at least, that is what I think it is called when you use the same key for both operations).
Do I need some form of public/private key encryption here? If so, which perl module would be advised for my needs?
Thanks,
fx
In reply to Encryption and decryption using different keys by fx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |