vanitykeygen

package
v0.0.0-...-5c775dd Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintMatch

func PrintMatch(wr io.Writer, pvtKey, pubKey, fingerPrint string) (err error)

func PrintSegments

func PrintSegments(wr io.Writer, s []Pairs) error

Types

type Config

type Config struct {
	Parent *cliconfig.Config

	PrivateKeySize int
	KeyGenFn       KeyGenFn

	MatchFn MatchFn

	ReportFn ReportFn
}

type KeyGenFn

type KeyGenFn = func(PrivateKeyBytes) error

type MatchFn

type MatchFn = func(PrivateKeyBytes) bool

type Pairs

type Pairs struct {
	L, R string
}

type PrivateKeyBytes

type PrivateKeyBytes []byte

type ReportFn

type ReportFn = func(PrivateKeyBytes) error

Jump to

Keyboard shortcuts

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