Module hpke

Module hpke 

Source
Expand description

Hybrid public key encryption (RFC 9180).

Structs§

EncapsulatedSecret
An encapsulated secret returned from setting up a sender or receiver context.
HpkeKeyPair
An HPKE key pair, made of a matching public and private key.
HpkePrivateKey
An HPKE private key.
HpkePublicKey
An HPKE public key.
HpkeSuite
An HPKE suite, specifying a key encapsulation mechanism and a symmetric cipher suite.
HpkeSymmetricCipherSuite

Enums§

HpkeAead
The Authenticated Encryption with Associated Data (Aead) type for HPKE operations. Listed by IANA, as specified in RFC 9180 Section 7.3
HpkeKdf
The Key Derivation Function (Kdf) type for HPKE operations. Listed by IANA, as specified in RFC 9180 Section 7.2
HpkeKem
The Key Encapsulation Mechanism (Kem) type for HPKE operations. Listed by IANA, as specified in RFC 9180 Section 7.1

Traits§

Hpke
An HPKE instance that can be used for base-mode single-shot encryption and decryption.
HpkeOpener
An HPKE opener context.
HpkeSealer
An HPKE sealer context.