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

Contents
  1. Public keys
  2. Private keys
  3. Signatures
  4. Generation and verification
Synopsis
  • 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

Private keys

Signatures

Generation and verification