HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecryptonite-0.30Haskell2010

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.

Contents
  1. Smart constructors
  2. Methods
Synopsis
  • Packagecryptonite-0.30
  • 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

Methods

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.