Module oaep

Module oaep 

Source
Expand description

Encryption and Decryption using OAEP padding.

ยงUsage

See code example in the toplevel rustdoc.

Modulesยง

decrypting_key ๐Ÿ”’
encrypting_key ๐Ÿ”’

Structsยง

DecryptingKey
Decryption key for PKCS#1 v1.5 decryption as described in RFC8017 ยง 7.1.
EncryptingKey
Encryption key for PKCS#1 v1.5 encryption as described in RFC8017 ยง 7.1.
Oaep
Encryption and Decryption using OAEP padding.

Functionsยง

decrypt ๐Ÿ”’
Decrypts a plaintext using RSA and the padding scheme from PKCS#1 OAEP.
decrypt_digest ๐Ÿ”’
Decrypts a plaintext using RSA and the padding scheme from PKCS#1 OAEP.
encrypt ๐Ÿ”’
Encrypts the given message with RSA and the padding scheme from PKCS#1 OAEP.
encrypt_digest ๐Ÿ”’
Encrypts the given message with RSA and the padding scheme from PKCS#1 OAEP.