Documentation
¶
Overview ¶
Package hashutil provides utility functions to generate and validate hash.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashSHA256 ¶ added in v1.2.4
HashSHA256 generates and returns an SHA256 hash.
func VerifySHA1 ¶
VerifySHA1 checks if the plaintext value matches the given sha1 hash.
func VerifySHA256 ¶ added in v1.2.4
VerifySHA256 checks if the plaintext value matches the given sha256 hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.