bip38

package
v0.0.0-...-bdba5f3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: MIT Imports: 13 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BruteChunk

func BruteChunk(routines int, encryptedKey, charset string, pwlen int, pat string, passwords []string, chunk, chunks int, resume uint64, coinInfo [2]byte, coinName string) string

func DecryptWithPassphrase

func DecryptWithPassphrase(key *Key, passphrase string) (wifPrivKey, addr string)

func DecryptWithPassphraseNoEC

func DecryptWithPassphraseNoEC(key *Key, passphrase string) (wifPrivKey, addr string)

func Pk2Wif

func Pk2Wif(pk []byte, compressed bool, privateKeyPrefix byte) string

Types

type Key

type Key struct {
	// contains filtered or unexported fields
}

func NewKey

func NewKey(encKey string) (o *Key)

func (*Key) TypeString

func (o *Key) TypeString() string

type KeyType

type KeyType int
const (
	NonECMultKey KeyType = iota
	ECMultKey    KeyType = iota
)

Jump to

Keyboard shortcuts

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