Documentation ¶ Index ¶ func CheckHash(dataByte []byte, expectedHashHex string, minExpectedHashHexLen int) (bool, string) func Hash(src []byte, rounds int) []byte func HashHex(src []byte, rounds int) string func SHA256File(filename string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CheckHash ¶ added in v0.0.7 func CheckHash(dataByte []byte, expectedHashHex string, minExpectedHashHexLen int) (bool, string) func Hash ¶ func Hash(src []byte, rounds int) []byte func HashHex ¶ func HashHex(src []byte, rounds int) string func SHA256File ¶ added in v1.0.0 func SHA256File(filename string) ([]byte, error) Types ¶ This section is empty. Source Files ¶ View all Source files sha256.go Click to show internal directories. Click to hide internal directories.