package
0.0.0-20160518072526-27db609c9d03
Repository: https://github.com/bford/golang-x-crypto.git
Documentation: pkg.go.dev
# Packages
Package cosi provides a basic implementation of collective signatures based on the Ed25519 signature scheme.
# Functions
GenerateKey generates a public/private key pair using entropy from rand.
Sign signs the message with privateKey and returns a signature.
Verify reports whether sig is a valid signature of message by publicKey.
# 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.
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.