walletseed

package
v0.0.0-...-9e8562e Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeUserInput

func DecodeUserInput(input string) ([]byte, error)

DecodeUserInput decodes a seed in either hexadecimal or mnemonic word list encoding back into its binary form.

func EncodeMnemonic

func EncodeMnemonic(seed []byte) string

EncodeMnemonic encodes a seed as a mnemonic word list separated by spaces.

func EncodeMnemonicSlice

func EncodeMnemonicSlice(seed []byte) []string

EncodeMnemonicSlice encodes a seed as a mnemonic word list.

func GenerateRandomSeed

func GenerateRandomSeed(size uint) ([]byte, error)

GenerateRandomSeed returns a new seed created from a cryptographically-secure random source. If the seed size is unacceptable, hdkeychain.ErrInvalidSeedLen is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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