Documentation ¶
Overview ¶
Package slip10 implements the SLIP-0010 master key derivation scheme for Ed25519.
Index ¶
Constants ¶
View Source
const ( // SeedMinSize is the minimum seed byte sequence size in bytes. SeedMinSize = 16 // SeedMaxSize is the maximum seed byte sequence size in bytes. SeedMaxSize = 64 // ChainCodeSize is the size of a SLIP-0010 chain code in bytes. ChainCodeSize = 32 // SecretSize is the size of a SLIP-0010 secret in bytes. SecretSize = 32 )
Variables ¶
View Source
var CurveConstant = []byte("ed25519 seed")
CurveConstant is the SLIP-0010 curve constant.
Functions ¶
func NewChildKey ¶
NewChildKey derives a child key and chain code from a (parent key, parent chain code, index) tuple.
Types ¶
Click to show internal directories.
Click to hide internal directories.