Documentation
¶
Overview ¶
Package ed25519 provides utilities for signing and verifying messages using Ed25519.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidKey = errors.New("ed25519: bad key length")
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct {
Verifier
// contains filtered or unexported fields
}
Signer signs messages using Ed25519. It is safe for concurrent use by multiple goroutines.
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier verifies Ed25519 message signatures. It is safe for concurrent use by multiple goroutines.
func NewVerifier ¶
NewVerifier returns a new Verifier for the provided public key and hash algorithm.
Click to show internal directories.
Click to hide internal directories.