Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBcryptHash ¶
CreateBcryptHash creates a bcrypt hash of the given password
func GetSHA256FromFS ¶
GetSHA256FromFS takes a fs.FS and returns a SHA256 hash of the combined contents of all files in the filesystem.
If there is an error, it returns an empty string.
func VerifyBcryptHash ¶
VerifyBcryptHash verifies the given password against the bcrypt hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.