HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecrypton-1.0.4Haskell2010

Crypto.PubKey.Curve448

Curve448 support

Internally uses Decaf point compression to omit the cofactor and implementation by Mike Hamburg. Externally API and data types are compatible with the encoding specified in RFC 7748.

  • 3 types
  • 6 values
  • Packagecrypton-1.0.4
  • Exports9
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceCurve448.hs
newtypenewtype DhSecret
#

A Curve448 Diffie Hellman secret related to a public key and a secret key.

Instances4Eq, Show, NFData, ByteArrayAccess

Smart constructors

3 declarations

Methods

3 declarations
valuedh :: PublicKey -> SecretKey -> DhSecret
#

Compute the Diffie Hellman secret from a public key and a secret key.

This implementation may return an all-zero value as it does not check for the condition.