Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorInvalidBase58String = errors.New("invalid base58 string")
)
Errors
View Source
var ( //井通字母表 JingTumAlphabet = NewAlphabet("jpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65rkm8oFqi1tuvAxyz") )
Functions ¶
func Base58Decode ¶
*
- 以传入的字母表对输入值进行base58解码。
- params:
- input:待解码字符串
- alphabet:base58编码字母表
- return:
- []byte, error
func Base58Encode ¶
*
- 以传入的字母表对输入值进行base58编码。
- params:
- input:待编码字节数组
- alphabet:base58编码字母表
- return:
- string
Types ¶
Click to show internal directories.
Click to hide internal directories.