Documentation ¶
Index ¶
Constants ¶
View Source
const Version = argon2.Version
Variables ¶
View Source
var ( ErrInvalidFormat = errors.New("argon2id: invalid format") ErrIncompatibleVariant = errors.New("argon2id: incompatible variant") ErrIncompatibleVersion = errors.New("argon2id: incompatible version") )
View Source
var DefaultParams = &Params{ Memory: 64 * 1024, Iterations: 1, Parallelism: uint8(runtime.NumCPU()), SaltLength: 16, KeyLength: 32, }
Functions ¶
func RandomSalt ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.