bip32

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ArrayLen = 64

ArrayLen is the expected length of the return value in bytes: the first 32 bytes are the public key and the second 32 bytes are the private key. TODO: can we read this from somewhere?

View Source
const Bip39SeedLen = 64

Bip39SeedLen is the expected length of a BIP39-compatible seed. This is specified in the BIP itself.

Variables

This section is empty.

Functions

func Derive

func Derive(path string, seed []byte) (key *[ArrayLen]byte, err error)

Derive wraps the underlying CFFI function. It derives a new keypair from a path and a seed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL