dcoin

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EntropySizeStep = 32
	EntropySizeMin  = digestSizeMin * EntropySizeStep
	EntropySizeMax  = digestSizeMax * EntropySizeStep
)

Variables

This section is empty.

Functions

func CreateEntropyRandomly added in v1.3.1

func CreateEntropyRandomly(entropySize int) ([]byte, error)

func EntropyToMnemonic added in v1.3.0

func EntropyToMnemonic(entropy []byte) (string, error)

func Keccak256Sum added in v1.3.0

func Keccak256Sum(data []byte) []byte

func MnemonicToSeed added in v1.3.0

func MnemonicToSeed(mnemonic string, password string) ([]byte, error)

func ReadMnemonic

func ReadMnemonic() (string, error)

func RipeMD160Sum added in v1.3.0

func RipeMD160Sum(data []byte) []byte

func SeedToKey added in v1.3.0

func SeedToKey(seed []byte, path []uint32) (*bip32.Key, error)

func Sha256Sum added in v1.3.0

func Sha256Sum(data []byte) []byte

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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