Versions in this module Expand all Collapse all go1 go1.26.0 Feb 10, 2026 Changes in this version + const PrivateKeySize + const PublicKeySize44 + const PublicKeySize65 + const PublicKeySize87 + const R + const RR + const SignatureSize44 + const SignatureSize65 + const SignatureSize87 + func Sign(priv *PrivateKey, msg []byte, context string) ([]byte, error) + func SignDeterministic(priv *PrivateKey, msg []byte, context string) ([]byte, error) + func SignExternalMu(priv *PrivateKey, μ []byte) ([]byte, error) + func SignExternalMuDeterministic(priv *PrivateKey, μ []byte) ([]byte, error) + func TestingOnlyPrivateKeySemiExpandedBytes(priv *PrivateKey) []byte + func TestingOnlySignExternalMuWithRandom(priv *PrivateKey, μ []byte, random []byte) ([]byte, error) + func TestingOnlySignWithRandom(priv *PrivateKey, msg []byte, context string, random []byte) ([]byte, error) + func Verify(pub *PublicKey, msg, sig []byte, context string) error + func VerifyExternalMu(pub *PublicKey, μ []byte, sig []byte) error + type PrivateKey struct + func GenerateKey44() *PrivateKey + func GenerateKey65() *PrivateKey + func GenerateKey87() *PrivateKey + func NewPrivateKey44(seed []byte) (*PrivateKey, error) + func NewPrivateKey65(seed []byte) (*PrivateKey, error) + func NewPrivateKey87(seed []byte) (*PrivateKey, error) + func TestingOnlyNewPrivateKeyFromSemiExpanded(sk []byte) (*PrivateKey, error) + func (priv *PrivateKey) Bytes() []byte + func (priv *PrivateKey) Equal(x *PrivateKey) bool + func (priv *PrivateKey) PublicKey() *PublicKey + type PublicKey struct + func NewPublicKey44(pk []byte) (*PublicKey, error) + func NewPublicKey65(pk []byte) (*PublicKey, error) + func NewPublicKey87(pk []byte) (*PublicKey, error) + func (pub *PublicKey) Bytes() []byte + func (pub *PublicKey) Equal(x *PublicKey) bool + func (pub *PublicKey) Parameters() string go1.26rc3 Feb 4, 2026 go1.26rc2 Jan 15, 2026 go1.26rc1 Dec 16, 2025