Documentation ¶
Index ¶
- func Base32Decode(data string) ([]byte, error)
- func Base32Encode(data []byte) string
- func Base64Decode(data string) ([]byte, error)
- func Base64Encode(data []byte) string
- func FNV32(text string) uint32
- func FNV32a(text string) uint32
- func FNV64(text string) uint64
- func FNV64a(text string) uint64
- func MD5(text string) string
- func SHA1(text string) string
- func SHA256(text string) string
- func SHA512(text string) string
- func StringHasher(algorithm hash.Hash, text string) string
- func Uint32Hasher(algorithm hash.Hash32, text string) uint32
- func Uint64Hasher(algorithm hash.Hash64, text string) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base32Decode ¶
Base32Decode use base32.StdEncoding (standard base32 encoding) to decode in base32.
func Base32Encode ¶
Base32Encode use base32.StdEncoding (standard base32 encoding) to encode in base32.
func Base64Decode ¶
Base64Decode use base64.StdEncoding (standard base32 encoding) to decode in base64.
func Base64Encode ¶
Base64Encode use base64.StdEncoding (standard base32 encoding) to encode in base64.
func StringHasher ¶
StringHasher use hash.Hash to encode string.
func Uint32Hasher ¶
Uint32Hasher use hash.Hash to encode uint32.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.