Documentation ¶
Index ¶
- func Crc32(b []byte) uint32
- func Crc64(b []byte) uint64
- func Hashes(algorithm hash.Hash, b []byte) []byte
- func HmacMd5(b []byte, secret []byte) []byte
- func HmacMd5Hex(b []byte, secret []byte) string
- func HmacSha1(b []byte, secret []byte) []byte
- func HmacSha1Hex(b []byte, secret []byte) string
- func HmacSha256(b []byte, secret []byte) []byte
- func HmacSha256Hex(b []byte, secret []byte) string
- func HmacSha512(b []byte, secret []byte) []byte
- func HmacSha512Hex(b []byte, secret []byte) string
- func Md5(b []byte) []byte
- func Md5Hex(b []byte) string
- func Sha1(b []byte) []byte
- func Sha1Hex(b []byte) string
- func Sha256(b []byte) []byte
- func Sha256Hex(b []byte) string
- func Sha512(b []byte) []byte
- func Sha512Hex(b []byte) string
- func StringHashes(algorithm hash.Hash, b []byte) string
- func Time33(text string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HmacMd5Hex ¶
HmacMd5Hex hashes using md5 algorithm with a secret
func HmacSha1Hex ¶
HmacSha1Hex hashes using sha1 algorithm with a secret
func HmacSha256 ¶
HmacSha256 hashes using sha256 algorithm with a secret
func HmacSha256Hex ¶
HmacSha256Hex hashes using sha256 algorithm with a secret
func HmacSha512 ¶
HmacSha512 hashes using sha512 algorithm with a secret
func HmacSha512Hex ¶
HmacSha512Hex hashes using sha512 algorithm with a secret
func StringHashes ¶
StringHashes hashes string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.