Skip to content

Commit 5483eca

Browse files
committed
docs: update values for ARGON2I/ARGON2ID Algorithm options
1 parent 2aadb30 commit 5483eca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Config/Auth.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,10 @@ class Auth extends BaseConfig
296296
* the "time_cost" and the number of "threads", whenever a password hash is
297297
* created.
298298
*/
299-
public int $hashMemoryCost = 2048; // PASSWORD_ARGON2_DEFAULT_MEMORY_COST;
299+
public int $hashMemoryCost = 65536; // PASSWORD_ARGON2_DEFAULT_MEMORY_COST;
300300

301-
public int $hashTimeCost = 4; // PASSWORD_ARGON2_DEFAULT_TIME_COST;
302-
public int $hashThreads = 4; // PASSWORD_ARGON2_DEFAULT_THREADS;
301+
public int $hashTimeCost = 4; // PASSWORD_ARGON2_DEFAULT_TIME_COST;
302+
public int $hashThreads = 1; // PASSWORD_ARGON2_DEFAULT_THREADS;
303303

304304
/**
305305
* --------------------------------------------------------------------

0 commit comments

Comments
 (0)