Crate hpke_rs_crypto

source ·
Expand description

HPKE Crypto Trait

crates.io Docs Rust Version

The hpke-rs crate can be used with different cryptography backends to perform the cryptographic operations. This crate defines the HpkeCrypto trait that is required to instantiate hpke-rs. It further defines necessary types and errors.

Please see hpke-rs for more details.

Modules

  • HPKE Crypto Trait Errors
  • HPKE Algorithm Identifiers

Traits

  • A marker trait used to indicate that an RngCore or BlockRngCore implementation is supposed to be cryptographically secure.
  • The HpkeCrypto trait defines the necessary cryptographic functions used in the HPKE implementation.
  • PRNG extension for testing that is supposed to return pre-configured bytes.
  • The core of a random number generator.