Versions in this module Expand all Collapse all v0 v0.56.0 Sep 2, 2026 GO-2026-5932 GO-2026-5932: The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues Changes in this version + const PrivateKeySize + const PublicKeySize + const SeedSize + const SignatureSize + func GenerateKey(rand io.Reader) (PublicKey, PrivateKey, error) + func Sign(privateKey PrivateKey, message []byte) []byte + func Verify(publicKey PublicKey, message, sig []byte) bool + type PrivateKey = ed25519.PrivateKey + func NewKeyFromSeed(seed []byte) PrivateKey + type PublicKey = ed25519.PublicKey