Versions in this module Expand all Collapse all v0 v0.0.3 Feb 7, 2021 Changes in this version + var ErrChecksum = errors.New("checksum error") + var ErrInvalidFormat = errors.New("invalid format: version and/or checksum bytes missing") + func BitcoinpayCheckDecode(input string) (result []byte, version [2]byte, err error) + func BitcoinpayCheckEncode(input []byte, version []byte) string + func BtcCheckDecode(input string) (result []byte, version byte, err error) + func BtcCheckEncode(input []byte, version byte) string + func CheckDecode(input string, version_size, cksum_size int, cksumfunc func([]byte) []byte) (result []byte, version []byte, err error) + func CheckEncode(input []byte, version []byte, cksum_size int, cksumfunc func([]byte) []byte) string + func DcrCheckDecode(input string) (result []byte, version [2]byte, err error) + func DcrCheckEncode(input []byte, version [2]byte) string + func Decode(b string) []byte + func DoubleHashChecksumFunc(hasher hash.Hasher, cksum_size int) func([]byte) []byte + func Encode(b []byte) string + func SingleHashChecksumFunc(hasher hash.Hasher, cksum_size int) func([]byte) []byte