cb58

package
v0.0.0-...-a38d99b Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBase58Decoding  = errors.New("base58 decoding error")
	ErrMissingChecksum = errors.New("input string is smaller than the checksum size")
	ErrBadChecksum     = errors.New("invalid input checksum")
)

Functions

func Decode

func Decode(str string) ([]byte, error)

Decode [str] to bytes from cb58.

func Encode

func Encode(bytes []byte) (string, error)

Encode bytes to a string using cb58 format. bytes may be nil, in which case it will be treated the same as an empty slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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