Documentation ¶
Index ¶
- 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) booldeprecated
- func IsSha3512(hash []byte) bool
- func IsSha3512Hex(hash string) bool
- func Sha256Byte(value []byte) (string, error)deprecated
- func Sha256String(value string) (string, error)deprecated
- func ValidateHash(hash []byte) error
- func ValidateHashString(hash string) error
- func ValidateSHA256(hash string) errordeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashSingle ¶
func IsHashMatch ¶
func IsSha3512Hex ¶
func Sha256Byte
deprecated
func Sha256String
deprecated
func ValidateHash ¶
func ValidateHashString ¶
func ValidateSHA256
deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.