Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePasswordAndHash ¶
ComparePasswordAndHash does a constant time comparison between a plaintex password and a hash.
func CreateHash ¶
CreateHash creates a hash from a string
func RandomString ¶
func RandomString() string
RandomString creates a random 16 byte string using crypto/rand.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.