Crypt::Keys::Private::RSA - RSA private key drivers
This document describes the format of the key data returned from RSA private keyfile drivers.
All Crypt::Keys::Private::RSA drivers (no matter the encoding) will return a data structure containing the same format. That structure will be a reference to a hash, containing a key Data; the value of the key Data is another hash reference, which contains the actual key data. This hash reference has the following keys:
Data
n
e
d
p
q
These fields should all be self-explanatory. They are standard parts of a private RSA key.
dp
Equal to d mod (p-1).
d mod (p-1)
dq
Equal to d mod (q-1).
d mod (q-1)
iqmp
Equal to inverse of q mod p.
inverse of q mod p
These last three fields are used in the Chinese Remainder Theorem.
Please see the Crypt::Keys manpage for author, copyright, and license information.
To install Crypt::Keys, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Keys
CPAN shell
perl -MCPAN -e shell install Crypt::Keys
For more information on module installation, please visit the detailed CPAN module installation guide.