From 74d84e9371b2d2486edcc8f458adc9f22957d68b Mon Sep 17 00:00:00 2001 From: Patrick Heppler <12952240+HepplerDotNet@users.noreply.github.com> Date: Mon, 9 Sep 2019 20:51:51 +0200 Subject: [PATCH] According to PHP Bug 78516 Argon2 requires at least 8KB (#5097) https://bugs.php.net/bug.php?id=78516 Argon2 requires at least 8KB On PHP 7.4 memory 1024 will throw: password_hash(): Memory cost is outside of allowed memory range --- config/hashing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/hashing.php b/config/hashing.php index 84257708..9146bfd9 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -44,7 +44,7 @@ */ 'argon' => [ - 'memory' => 1024, + 'memory' => 8192, 'threads' => 2, 'time' => 2, ],