Help us shape the future of Go! Take the 2026 Go Developer Survey

cb58

package
v1.36.186 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 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