Documentation
¶
Index ¶
Constants ¶
View Source
const ( LegacyIterations = 4096 CurrentIterations = 600000 )
Variables ¶
This section is empty.
Functions ¶
func Salt ¶
Salt returns a randomly generated salt. Derived from: https://github.com/golang/crypto/blob/eec23a3978adcfd26c29f4153eaa3e3d9b2cc53a/bcrypt/bcrypt.go#L144
func SecureCompare ¶ added in v0.1.0
SecureCompare performs a constant time comparison of two byte slices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.