Versions in this module Expand all Collapse all v2 v2.0.4 Mar 3, 2025 Changes in this version + type Ed25519KeyPair struct + func NewEd25519KeyPair(privateKey ed25519.PrivateKey) *Ed25519KeyPair + func (e *Ed25519KeyPair) PrivateKey() []byte + func (e *Ed25519KeyPair) PublicKey() []byte + func (e *Ed25519KeyPair) Sign(msg []byte) []byte + type KeyPair interface + PrivateKey func() []byte + PublicKey func() []byte + Sign func(msg []byte) []byte + type Signer interface + Sign func(msg []byte) T