16 Commits

Author SHA1 Message Date
Dries Vints
096638ea9a
Update the default Argon2 options 2022-02-03 16:06:00 +01:00
Graham Campbell
56157b9cd2 Revert "According to PHP Bug 78516 Argon2 requires at least 8KB (#5097)" (#5102)
This reverts commit 74d84e9371b2d2486edcc8f458adc9f22957d68b.
2019-09-11 14:10:18 +02:00
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
Taylor Otwell
31394de4d7
Revert "Set argon defaults to prevent password_hash(): Memory cost is outside of allowed memory range on PHP 7.4 (#5094)" (#5095)
This reverts commit 86908e1eb4a6cc8f5474b1355db4c104c548619e.
2019-09-07 02:18: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
Taylor Otwell
28908d83d9 add supported type 2018-08-04 08:52:01 -10:00
Roberto Aguilar
dc320c8942
Set bcrypt rounds using the hashing config 2018-04-18 10:09:32 -05:00
Taylor Otwell
50ffc7d9fd formatting 2018-03-24 14:25:38 -07:00
Hugues Joyal
f33dc10bed gammar 2018-03-19 15:26:46 -04:00
Hugues Joyal
d79e7ccb8b fix styling 2018-03-19 15:15:25 -04:00
Hugues Joyal
7259889fcd missing newline 2018-03-19 13:29:20 -04:00
Hugues Joyal
af91d97b68 better comment formating 2018-03-18 08:59:04 -04:00
Hugues Joyal
18701f51ea New line formating 2018-03-18 08:38:20 -04:00
Hugues Joyal
010d713898 style-ci fix 2018-03-18 07:50:27 -04:00
Hugues Joyal
4f8a093dcc Add hashing configuration 2018-03-18 07:47:34 -04:00
Taylor Otwell
bac7595f02 add hashing config 2018-01-30 08:38:49 -06:00