Documentation
¶
Overview ¶
package hashutil contains helper functions for generating and verifying hashes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHash ¶
GenerateHash returns a base64 encoded SHA-256 hash of the salted password.
func GenerateNonce ¶
func GenerateNonce() string
GenerateNonce returns a random 16-byte nonce for the salt.
Types ¶
Click to show internal directories.
Click to hide internal directories.