Crypt::RSA::Primitives - RSA encryption, decryption, signature and verification primitives.
my $prim = new Crypt::RSA::Primitives; my $ctxt = $prim->core_encrypt (Key => $key, Plaintext => $string); my $ptxt = $prim->core_decrypt (Key => $key, Cyphertext => $ctxt); my $sign = $prim->core_sign (Key => $key, Message => $string); my $vrfy = $prim->core_verify (Key => $key, Signature => $sig);
This module implements RSA encryption, decryption, signature and verfication primitives. These primitives should only be used in the context of an encryption or signing scheme. See Crypt::RSA::ES::OAEP(3), and Crypt::RSA::SS::PSS(3) for the implementation of two such schemes.
See ERROR HANDLING in Crypt::RSA(3) manpage.
Vipul Ved Prakash, <mail@vipul.net>
Crypt::RSA(3), Crypt::RSA::Key(3), Crypt::RSA::ES::OAEP(3), Crypt::RSA::SS::PSS(3)
To install Crypt::RSA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::RSA
CPAN shell
perl -MCPAN -e shell install Crypt::RSA
For more information on module installation, please visit the detailed CPAN module installation guide.