walletseed

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2018 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