Versions in this module Expand all Collapse all v6 v6.4.0 May 18, 2020 Changes in this version + var Base58 = NewEncoding(base58Alphabet) + var Base62 = NewEncoding(base62Alphabet) + type Encoding struct + func NewEncoding(alphabet string) *Encoding + func (enc *Encoding) Base() int + func (enc *Encoding) DecodeString(s string) ([]byte, error) + func (enc *Encoding) DecodeStringN(s string, n int) ([]byte, error) + func (enc *Encoding) EncodeToString(b []byte) string + func (enc *Encoding) MustRandom(n int) string + func (enc *Encoding) Random(n int) (string, error) Other modules containing this package github.com/33cn/chain33