HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulehpke-0.0.0Haskell2010

Crypto.HPKE

Hybrid Public Key Encryption (RFC9180).

  • 16 types
  • 10 values
  • Packagehpke-0.0.0
  • Exports37
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceHPKE.hs

IDs

14 declarations

Setup

0 declarations

For mode_base and mode_auth

For mode_psk and mode_auth_psk

Encryption and Decyption

2 declarations

Secret export

2 declarations

Types

12 declarations
datadata ContextR
#

Context for receivers.

typetype AAD = ByteString
#

Additional authenticated data for AEAD.

Error

1 declaration

Misc

2 declarations
valuenEnc :: KEM_ID -> Int
#

Length of "enc", aka sender's public key.