Hi Kelvin,
Thanx for the reply.
My database query is running. I can store the key(s) in the database as a varchar format and retrieve in correctly. The problem is showing when I'm using that varchar formatted key to again use the Crypt::RSA algorithm.
It simply does not call the methods of the Crypt::RSA algo. The algo is unable to recognize that format.
I've even tried format BLOB,...
User Profile
Collapse
-
Hi Kelvin,
My Code is as follows...
[CODE=perl]my ($public, $private) =
$rsa->keygen (
Identity => 'mail@abc.in',
Size => 512,
Password => 'abc',
Verbosity => 1,
) or die $rsa->errstr();
$sth = $dbh->prepare ("insert into test values('$privat e');");
...Leave a comment:
-
How to store keys generated from Crypt::RSA module??
Hi All,
I'm using Crypt::RSA module for generating public & private keys. Now the problem is that when I'm storing the keys in the database, and again bringing them to do the signature or verification the Crypt::RSA module is unable to understand the key format. I'm storing the keys in the Varchar field of the MySQL.
Could any body tell me when storing the keys in the databases what would be the type of the field...
No activity results to display
Show More
Leave a comment: