HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulecrypton-2.1.7Haskell2010

Crypto.PubKey.ECC.ECDSA

WARNING: Signature operations may leak the private key. The nonce is inverted without a side channel on every curve, and on P-256 the scalar multiplication is the constant-time C implementation, but what surrounds them is Integer arithmetic, whose cost follows the values it is given, and on every other curve the multiplication follows the nonce as well. Signature verification takes only public values and should be safe.

  • 7 types
  • 13 values
  • Packagecrypton-2.1.7
  • Exports20
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • SourceECDSA.hs
datadata ExtendedSignature
#

ECDSA signature with public key recovery information.

Constructors

Instances4Eq, Data, Read, Show
datadata PrivateKey
#

ECDSA Private Key.

Instances5Eq, Data, Read, Show, DebugShow