Versions in this module Expand all Collapse all v0 v0.0.1 Feb 7, 2024 Changes in this version + func Hash(data ...[]byte) []byte + func HashFile(path string) ([]byte, error) + func HashReader(in io.Reader) ([]byte, error) + func HashSingle(data []byte) []byte + func IsHashMatch(data, hash []byte) int + func IsSHA256(hash string) bool + func IsSha3512(hash []byte) bool + func IsSha3512Hex(hash string) bool + func Sha256Byte(value []byte) (string, error) + func Sha256String(value string) (string, error) + func ValidateHash(hash []byte) error + func ValidateHashString(hash string) error + func ValidateSHA256(hash string) error