Categorygithub.com/libonomy/ed25519
modulepackage
0.0.0-20200515113020-867f8a7820c3
Repository: https://github.com/libonomy/ed25519.git
Documentation: pkg.go.dev

# Functions

ExtractPublicKey extracts the signer's public key given a message and its signature.
GenerateKey generates a public/private key pair using entropy from rand.
NewDerivedKeyFromSeed calculates a private key from a 32 bytes random seed, an integer index and salt.
NewKeyFromSeed calculates a private key from a seed.
Sign signs the message with privateKey and returns a signature.
Sign2 signs the message with privateKey and returns a signature.
Verify reports whether sig is a valid signature of message by publicKey.
Verify2 verifies a signature created with Sign2(), assuming the verifier possesses the public key.

# Constants

PrivateKeySize is the size, in bytes, of private keys as used in this package.
PublicKeySize is the size, in bytes, of public keys as used in this package.
SeedSize is the size, in bytes, of private key seeds.
SignatureSize is the size, in bytes, of signatures generated and verified by this package.

# Type aliases

PrivateKey is the type of Ed25519 private keys.
PublicKey is the type of Ed25519 public keys.