Module sequoia_openpgp::crypto

source ·
Expand description

Cryptographic primitives.

This module contains cryptographic primitives as defined and used by OpenPGP. It abstracts over the cryptographic library chosen at compile time. Most of the time, it will not be necessary to explicitly use types from this module directly, but they are used in the API (e.g. Password). Advanced users may use these primitives to provide custom extensions to OpenPGP.

§Common Operations

Modules§

  • Elliptic-curve Diffie-Hellman.
  • Cryptographic hash functions and hashing of OpenPGP data structures.
  • Memory protection and encryption.
  • Multiprecision Integers.

Structs§

Enums§

  • String-to-Key (S2K) specifiers.

Traits§

Functions§

  • Returns a short, human-readable description of the backend.
  • Fills the given buffer with random data.