Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotHardened = errors.New("only hardened derivation is supported")
ErrNotHardened is returned when the input led to an invalid private or public key.
Functions ¶
func Ed25519 ¶
Ed25519 returns a slip10.Curve which implements the Ed25519 signature algorithm. See https://ed25519.cr.yp.to/.
Types ¶
type PublicKey ¶
PublicKey implements slip10.Key and represents an Ed25519 public key.
type Seed ¶
type Seed []byte
Seed implements slip10.Key and represents an Ed25519 seed. RFC 8032's private keys correspond to seeds in this package.
func (Seed) Ed25519Key ¶
func (s Seed) Ed25519Key() (ed25519.PublicKey, ed25519.PrivateKey)
Ed25519Key generates the corresponding public/private key pair.
Click to show internal directories.
Click to hide internal directories.