Commit Graph
2 Commits
Author SHA1 Message Date
Patrick Heppler 74d84e9371 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
2019-09-09 20:51:51 +02:00
Patrick Heppler 86908e1eb4 Set argon defaults to prevent password_hash(): Memory cost is outside of allowed memory range on PHP 7.4 (#5094)
With the values 
````
'argon' => [
        'memory' => 1024,
        'threads' => 2,
        'time' => 2,
    ],
```
Hash::make() produces password_hash(): Memory cost is outside of allowed memory range on PHP 7.4
2019-09-06 14:16:32 +02:00