in reply to Re: Private keys in Crypt::RSA
in thread Private keys in Crypt::RSA
Thanks for the reply. The key is being returned from the database correctly, so I'm not sure if storing it as a BLOB or converting it will help. And I'm using AES_ENCRYPT in MySQL, so the key is being stored securely. But if I pass the string directly to the decryption function like I show in the example, it gives me this error:
My guess is that it needs to be stored in a hash (which I've tried) or I'm just missing something. If I can't get this to work I'll just go ahead and encrypt it like you suggested but I would prefer to store it in the database. Any suggestions?Can't call method "check" without a package or object reference at /us +r/local/lib/perl5/site_perl/5.6.2/Crypt/RSA.pm line 133.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Private keys in Crypt::RSA
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 | |
Re^3: Private keys in Crypt::RSA
by jmking (Initiate) on Mar 07, 2007 at 22:10 UTC |
In Section
Seekers of Perl Wisdom