ed25519-donna-0.1.1: Haskell bindings to ed25519-donna (Elliptical Curve Signature Scheme)

Safe HaskellNone
LanguageHaskell2010

Crypto.Ed25519.Pure

Contents

Synopsis

Documentation

data PrivateKey Source

The type of a Ed25519 private key.

data PublicKey Source

The type of a Ed25519 public key.

Instances

newtype Signature Source

Constructors

Sig ByteString 

Instances

valid :: ByteString -> PublicKey -> Signature -> Bool Source

Returns true if the signature is valid

Import/Export interface