mirror of
https://github.com/pushbits/server.git
synced 2025-06-11 15:12:01 +02:00
Increase default parameters for Argon2
This commit is contained in:
parent
354ce0c08d
commit
7292644fba
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
// Argon2Config holds the parameters used for creating hashes with Argon2.
|
||||
type Argon2Config struct {
|
||||
Memory uint32 `default:"65536"`
|
||||
Iterations uint32 `default:"1"`
|
||||
Parallelism uint8 `default:"2"`
|
||||
Memory uint32 `default:"131072"`
|
||||
Iterations uint32 `default:"4"`
|
||||
Parallelism uint8 `default:"4"`
|
||||
SaltLength uint32 `default:"16"`
|
||||
KeyLength uint32 `default:"32"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue