brainwallet

package
v0.0.0-...-f51c0f3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(file string) (err error)

File Creator

func Generator

func Generator(input chan string, output chan string, done chan int, wg *sync.WaitGroup)

Generator

func GetMaxProcs

func GetMaxProcs() int

Get GOMAXPROCS value

func Init

func Init()

Initialize

func PrintStatistics

func PrintStatistics(start time.Time, done chan int, wg *sync.WaitGroup)

Print Statistics to io

func RIPEMD160

func RIPEMD160(input []byte) (hash []byte)

RIPEMD160 Hasher function

func SHA256

func SHA256(hasher hash.Hash, input []byte) (hash []byte)

SHA256 Hasher function

func Scanner

func Scanner(inputFile string, input chan string, done chan int, wg *sync.WaitGroup)

File Scanner

func Writer

func Writer(file string, output chan string, done chan int, wg *sync.WaitGroup)

File Writer

Types

type Logger

type Logger struct {
	Verbose bool
}

Logger Struct

func (*Logger) Write

func (l *Logger) Write(msg string)

Log Writer function

Jump to

Keyboard shortcuts

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