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

Modulecryptonite-0.30Haskell2010

Crypto.PubKey.ECDSA

Elliptic Curve Digital Signature Algorithm, with the parameterized curve implementations provided by module Crypto.ECC.

Public/private key pairs can be generated using curveGenerateKeyPair or decoded from binary.

WARNING: Only curve P-256 has constant-time implementation. Signature operations with P-384 and P-521 may leak the private key.

Signature verification should be safe for all curves.

  • 3 types
  • 1 class
  • 13 values
  • Packagecryptonite-0.30
  • Exports17
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceECDSA.hs
classclass EllipticCurveBasepointArith curve => EllipticCurveECDSA curve where
#

Elliptic curves with ECDSA capabilities.

Methods

Instances3EllipticCurveECDSA

Public keys

4 declarations

Private keys

3 declarations

Signatures

3 declarations

Generation and verification

6 declarations