1Crypt::RSA::Primitives(U3s)er Contributed Perl DocumentatCiroynpt::RSA::Primitives(3)
2
3
4
6 Crypt::RSA::Primitives - RSA encryption, decryption, signature and
7 verification primitives.
8
10 my $prim = new Crypt::RSA::Primitives;
11 my $ctxt = $prim->core_encrypt (Key => $key, Plaintext => $string);
12 my $ptxt = $prim->core_decrypt (Key => $key, Cyphertext => $ctxt);
13 my $sign = $prim->core_sign (Key => $key, Message => $string);
14 my $vrfy = $prim->core_verify (Key => $key, Signature => $sig);
15
17 This module implements RSA encryption, decryption, signature and
18 verfication primitives. These primitives should only be used in the
19 context of an encryption or signing scheme. See
20 Crypt::RSA::ES::OAEP(3), and Crypt::RSA::SS::PSS(3) for the
21 implementation of two such schemes.
22
24 See ERROR HANDLING in Crypt::RSA(3) manpage.
25
27 Vipul Ved Prakash, <mail@vipul.net>
28
30 Crypt::RSA(3), Crypt::RSA::Key(3), Crypt::RSA::ES::OAEP(3),
31 Crypt::RSA::SS::PSS(3)
32
33
34
35perl v5.34.0 2022-01-21 Crypt::RSA::Primitives(3)