Versions in this module Expand all Collapse all v1 v1.6.7 Feb 27, 2018 Changes in this version + const PrivateKeySize + const PublicKeySize + const SignatureSize + func GenerateKey(rand io.Reader) (publicKey PublicKey, privateKey PrivateKey, err error) + func Sign(privateKey PrivateKey, message []byte) []byte + func Verify(publicKey PublicKey, message, sig []byte) bool + type PrivateKey []byte + func (priv PrivateKey) Public() crypto.PublicKey + func (priv PrivateKey) Sign(rand io.Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error) + type PublicKey []byte