HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulecrypton-2.1.7Haskell2010

Crypto.PubKey.Ed25519

Ed25519 support

Contents
  1. Size constants
  2. Smart constructors
  3. Methods
Synopsis
  • Packagecrypton-2.1.7
  • Exports14
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • SourceEd25519.hs

Size constants

Smart constructors

Methods

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.