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

Modulecrypton-2.1.7Haskell2010

Crypto.PubKey.EdDSA

EdDSA signature generation and verification, implemented in Haskell and parameterized with elliptic curve and hash algorithm. Only edwards25519 is supported at the moment.

The module provides "context" and "prehash" variants defined in RFC 8032.

This implementation is most useful when wanting to customize the hash algorithm. See module Crypto.PubKey.Ed25519 for faster Ed25519 with SHA-512.

Contents
  1. Curves with EdDSA implementation
  2. Smart constructors
  3. Methods
Synopsis
  • Packagecrypton-2.1.7
  • Exports18
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • SourceEdDSA.hs
newtypenewtype PublicKey curve hash

An EdDSA public key

Instances4Eq, Show, NFData, ByteArrayAccess
newtypenewtype Signature curve hash

An EdDSA signature

Instances4Eq, Show, NFData, ByteArrayAccess

Curves with EdDSA implementation

Smart constructors

Methods