in reply to Private keys in Crypt::RSA
You should probably store the key as a BLOB or convert it to a string using some algorithm like BASE64, store it in the db, retrieve it, and then convert it back yourself.
You could store it in a file using Crypt::RSA::Private and using a key to encrypt it (see the doc). If it is unencrypted in the MySQL db, it may still be vulnerable to discovery.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Private keys in Crypt::RSA
by jmking (Initiate) on Mar 07, 2007 at 21:44 UTC | |
by traveler (Parson) on Mar 07, 2007 at 22:12 UTC | |
by dchoksi (Initiate) on Jun 26, 2007 at 15:08 UTC | |
by headcode (Initiate) on Oct 15, 2013 at 22:46 UTC | |
by jmking (Initiate) on Mar 07, 2007 at 22:10 UTC |
In Section
Seekers of Perl Wisdom