Browse Source

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
Patrick Heppler 5 years ago
parent
commit
74d84e9371
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/hashing.php

+ 1 - 1
config/hashing.php

@@ -44,7 +44,7 @@ return [
     */
 
     'argon' => [
-        'memory' => 1024,
+        'memory' => 8192,
         'threads' => 2,
         'time' => 2,
     ],