RSA public key cryptography implementation.
Returns a copy of the given key with the private key, if any, removed.Encryptsmsg for the given public key pub-key.
msg may be an integer or bytevector, in which case the
result is of the same type, or a string, in which case the string
is first coerced to a utf8 encoded bytevector.Decrypts cipher using the given private key priv-key.
cipher may be an integer or bytevector, in which case the
result is of the same type, or a string, in which case the string
is first coerced to a utf8 encoded bytevector.Signs msg using the given private key priv-key.Returns the verified (decrypted) message for the signature sig.Returns true iff sig is a valid signature of msg for
the given public key pub-key.