Versions in this module Expand all Collapse all v1 v1.5.43 May 2, 2024 v1.5.42 May 2, 2024 Changes in this version + const Base32EncoderID + const Base58EncoderID + const Base64EncoderID + const Base64GzipEncoderID + const EncoderModulus + const EnglishEncoderID + const GzipEncoderID + const GzipEnglishEncoderID + const HexEncoderID + const PNGEncoderID + var EncoderMap = map[int]Encoder + func B58Decode(b string) []byte + func B58Encode(b []byte) string + func GunzipBuf(data []byte) []byte + func GzipBuf(data []byte) []byte + func NopNonce() int + type Base32 struct + func (e Base32) Decode(data []byte) ([]byte, error) + func (e Base32) Encode(data []byte) []byte + type Base58 struct + func (e Base58) Decode(data []byte) ([]byte, error) + func (e Base58) Encode(data []byte) []byte + type Base64 struct + func (e Base64) Decode(data []byte) ([]byte, error) + func (e Base64) Encode(data []byte) []byte + type Base64Gzip struct + func (g Base64Gzip) Decode(data []byte) ([]byte, error) + func (g Base64Gzip) Encode(data []byte) []byte + type Encoder interface + Decode func([]byte) ([]byte, error) + Encode func([]byte) []byte + func EncoderFromNonce(nonce int) (int, Encoder, error) + func RandomEncoder() (int, Encoder) + func RandomTxtEncoder() (int, Encoder) + type English struct + func (e English) Decode(words []byte) ([]byte, error) + func (e English) Encode(data []byte) []byte + type Gzip struct + func (g Gzip) Decode(data []byte) ([]byte, error) + func (g Gzip) Encode(data []byte) []byte + type GzipEnglish struct + func (g GzipEnglish) Decode(data []byte) ([]byte, error) + func (g GzipEnglish) Encode(data []byte) []byte + type Hex struct + func (e Hex) Decode(data []byte) ([]byte, error) + func (e Hex) Encode(data []byte) []byte + type NoEncoder struct + func (n NoEncoder) Decode(data []byte) ([]byte, error) + func (n NoEncoder) Encode(data []byte) []byte + type PNGEncoder struct + func (p PNGEncoder) Decode(data []byte) ([]byte, error) + func (p PNGEncoder) Encode(data []byte) []byte