Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SpartaDefaults = argon2.Params{ Time: 1, Memory: 64 * 1024, Threads: uint8(runtime.NumCPU()), KeyLen: 64, }
SpartaDefaults holds the default argon2 values. Based on official recommendations and suggestions.
Functions ¶
func GeneratePasswordHash ¶
GeneratePasswordHash returns the key, storage hash and an eventual error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.