Versions in this module Expand all Collapse all v1 v1.0.1 May 8, 2026 Changes in this version + var StdEncoding = New() + func Base32Decode(s string) ([]byte, error) + func Base32Encode(src []byte) string + func Base64Decode(s string) ([]byte, error) + func Base64Encode(src []byte) string + func BytesPadding(text []byte, size int) []byte + func HexDecode(s string) ([]byte, error) + func HexEncode(src []byte) string + func HexPadding(text string, size int) string + type Encoding struct + func New() *Encoding + func (this *Encoding) Base32Decode(s string) ([]byte, error) + func (this *Encoding) Base32Encode(src []byte) string + func (this *Encoding) Base64Decode(s string) ([]byte, error) + func (this *Encoding) Base64Encode(src []byte) string + func (this *Encoding) BytesPadding(text []byte, size int) []byte + func (this *Encoding) HexDecode(s string) ([]byte, error) + func (this *Encoding) HexEncode(src []byte) string + func (this *Encoding) HexPadding(text string, size int) string