From 76d1a9b7530c7cc17783ec5167d56fa44d38b596 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Feb 2022 18:17:24 +0100 Subject: [PATCH] Update the default Argon2 options 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 --- config/hashing.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/hashing.php b/config/hashing.php index 842577087c0..bcd3be4c28a 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -44,9 +44,9 @@ */ 'argon' => [ - 'memory' => 1024, - 'threads' => 2, - 'time' => 2, + 'memory' => 65536, + 'threads' => 1, + 'time' => 4, ], ];