Documentation ¶
Overview ¶
Package ed25519 provides a mockable wrapper for crypto/ed25519.
Index ¶
- type Impl
- func (*Impl) GenerateKey(rand io.Reader) (ed25519.PublicKey, ed25519.PrivateKey, error)
- func (*Impl) NewKeyFromSeed(seed []byte) ed25519.PrivateKey
- func (*Impl) Sign(privateKey ed25519.PrivateKey, message []byte) []byte
- func (*Impl) Verify(publicKey ed25519.PublicKey, message []byte, sig []byte) bool
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct{}
func (*Impl) GenerateKey ¶
func (*Impl) NewKeyFromSeed ¶
func (*Impl) NewKeyFromSeed(seed []byte) ed25519.PrivateKey
Click to show internal directories.
Click to hide internal directories.