sig_encode mask key message
is the PKCS1-padded (type 1) message
signed by the key
. Note that this operation performs only the padding and RSA transformation steps of the PKCS 1.5 signature.
- raises Insufficient_key
(see Insufficient_key)
sig_decode key signature
is either Some message
if the signature
was produced with the given key
as per sign, or None
encrypt g key message
is a PKCS1-padded (type 2) and encrypted message
.
- raises Insufficient_key
(see Insufficient_key)