Consider using Crypt::PK::RSA which supports import of encrypted RSA keys in PEM format.
use Crypt::PK::RSA; my $pkrsa = Crypt::PK::RSA->new("priv.pem", $password); my $data = 'any data you want to sign'; my $signature = $pkrsa->sign_message($data, "SHA256", "v1.5");
It seems to interoperate well with openssl.
In reply to Re: AES support for Crypt::OpenSSL::RSA?
by Anonymous Monk
in thread AES support for Crypt::OpenSSL::RSA?
by Zippy1970
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |