pubkey_crypto

Functions


encrypt_public(PlainText, RSAPublicKey, Padding) -> term()

encrypt_private(PlainText, RSAPrivateKey, Padding) -> term()

decrypt_private(CipherText, RSAPrivateKey, Padding) -> term()

decrypt_public(CipherText, RSAPublicKey, Padding) -> term()

sign(PlainText, Digest) -> term()

sign(DigestType, PlainText, RSAPrivateKey) -> term()

verify(DigestType, PlainText, Signature, RSAPublicKey, Dss-Parms) -> term()

View Functions