multibase

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidBase58 = errors.New("invalid base58")

Functions

func DecodeBase58 added in v1.7.17

func DecodeBase58(s string) ([]byte, error)

DecodeBase58 将 Base58 编码的字符串解码为字节数组

func DecodeBase62

func DecodeBase62(s string) ([]byte, error)

DecodeBase62 将Base62编码的字符串解码为字节数组

func EncodeBase58 added in v1.7.17

func EncodeBase58(data []byte) string

EncodeBase58 将字节数组编码为Base58字符串

func EncodeBase62

func EncodeBase62(data []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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