rsa_encipher
Uses RSA to encipher one block of plaintext specified by
plaintext
. Specify the public key
(e, n) in the
RsaPubKey
structure
pubkey
. A block the same size as
plaintext
is returned in
ciphertext
. It is the responsibility of
the caller to manage the storage required in
ciphertext
. To encipher a large buffer
of data, call rsa_encipher in accordance with
a block cipher mode (see the example earlier in this
chapter).