Documentation ¶
Index ¶
- func Crc32(plainText []byte) uint32
- func HashPriv(hash crypto.Hash, hashed, privateKey []byte) ([]byte, error)
- func Hmac(plainText, key []byte) []byte
- func Md5(plainText []byte) []byte
- func Md5File(path string) (string, error)
- func Sha1(plainText []byte) []byte
- func Sha1File(path string) (string, error)
- func Sha256(plainText []byte) []byte
- func Sha512(plainText []byte) []byte
- func VerifyHashPub(hash crypto.Hash, hashed, data, privateKey []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.