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.Ed448

Ed448 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 8032.

  • 3 types
  • 11 values
  • Packagecrypton-1.0.4
  • Exports14
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceEd448.hs

Size constants

3 declarations

Smart constructors

3 declarations

Methods

5 declarations
valuesign :: ByteArrayAccess ba => SecretKey -> PublicKey -> ba -> Signature
#

Sign a message using the key pair The public key parameter is ignored and its public key is generated from the secret key parameter to prevent Double Public Key Signing Function Oracle Attack.

Sign a message using the key pair. This is old sign, which is vulnerable to private key compromise if the given public key does not correspond to the secret key. This function is provided for performance critical applications. To use it safely, applications must verify or derive the public key.