Documentation
¶
Overview ¶
Package passwordutil provides utils for generating and validating passwords for users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePasswordAndHash ¶
func Generate ¶
Generate returns random password of specified length
Note that recommended length is 26, based on rand.Text recommendation, to get 128 bits of randomness, which is plenty for bootstrap password.
func GeneratePasswordHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.