Module sequoia_openpgp::crypto::ecdh
source · [−]Expand description
Elliptic-curve Diffie-Hellman.
Sequoia implements the Elliptic-curve Diffie-Hellman key agreement protocol for use in OpenPGP as described by RFC 6637. In short, a shared secret is derived using Elliptic-curve Diffie-Hellman, a wrapping key is derived from that shared secret, and the message’s session key is wrapped using that wrapping key.
Functions
Unwraps an encrypted key using the AES Key Wrap Algorithm.
Wraps a key using the AES Key Wrap Algorithm.
decrypt_unwrapDeprecated
Unwraps a session key.
Unwraps a session key.