twenty_first::math::lattice

Module kem

Source

Structs§

Constants§

Functions§

  • Decapsulate: use the secret key to extract the corresponding shared symmetric key from a ciphertext (if successful).
  • Encapsulate: generate a ciphertext and an associated shared symmetric key.
  • Generate a public-secret key pair for key encapsulation.