base58

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BITCOIN string = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
	XRP     string = "rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"
	FLICKR  string = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Base58

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

Base58 ...

func NewBase58

func NewBase58(charset string) *Base58

NewBase58 ...

func (*Base58) CheckDecode

func (b *Base58) CheckDecode(input string) (result []byte, version byte, err error)

CheckDecode ...

func (*Base58) CheckEncode

func (b *Base58) CheckEncode(input []byte, version byte) string

CheckEncode ...

func (*Base58) Decode

func (b *Base58) Decode(input string) []byte

Decode ...

func (*Base58) Encode

func (b *Base58) Encode(input []byte) string

Encode ...

Jump to

Keyboard shortcuts

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