Skip to content

Commit 13e5d27

Browse files
authored
Update the default Argon2 options (laravel#5788)
Update Laravel's default Argon2 options to the values used by PHP: https://github.com/php/php-src/blob/107997e58e922aadc6d5bd6777d42f52034f2ae6/ext/standard/php_password.h#L32
1 parent ecf460a commit 13e5d27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/hashing.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
*/
4545

4646
'argon' => [
47-
'memory' => 1024,
48-
'threads' => 2,
49-
'time' => 2,
47+
'memory' => 65536,
48+
'threads' => 1,
49+
'time' => 4,
5050
],
5151

5252
];

0 commit comments

Comments
 (0)