Documentation ¶
Index ¶
Constants ¶
View Source
const (
// you should use this Prefix for your path
Prefix = "m/SLIP-0021"
)
Variables ¶
View Source
var (
ErrInvalidPath = fmt.Errorf("invalid derivation path")
)
Functions ¶
func IsValidPath ¶
IsValidPath check whether or not the path has valid segments
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func DeriveForPath ¶
DeriveForPath derives key for a path in slip-0021 format and a seed
func NewMasterNode ¶
NewMasterNode generates a new master key from seed
func (*Node) SymmetricKey ¶
SymmetricKey returns 256 bit symmetric key for the current node
Click to show internal directories.
Click to hide internal directories.