Just another Perl shrine | |
PerlMonks |
Encryption and decryption using different keysby fx (Pilgrim) |
on Aug 31, 2001 at 14:56 UTC ( [id://109348]=perlquestion: print w/replies, xml ) | Need Help?? |
fx has asked for the wisdom of the Perl Monks concerning the following question: 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
Back to
Seekers of Perl Wisdom
|
|