Merge branch 'add-hashing-config' of https://github.com/huguesjoyal/laravel-laravel into huguesjoyal-add-hashing-config
This commit is contained in:
commit
11f0e4e463
|
@ -17,4 +17,47 @@
|
||||||
|
|
||||||
'driver' => 'bcrypt',
|
'driver' => 'bcrypt',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| bcrypt options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you can define the number of rounds the bcrypt algo will be using.
|
||||||
|
|
|
||||||
|
| rounds: The two digit cost parameter is the base-2 logarithm of the
|
||||||
|
| iteration count for the underlying Blowfish-based hashing
|
||||||
|
| algorithmeter and must be in range 04-31, values outside this
|
||||||
|
| range will cause crypt() to fail.
|
||||||
|
| (default: 10)
|
||||||
|
*/
|
||||||
|
|
||||||
|
'bcrypt' => [
|
||||||
|
'rounds' => 10,
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| argon options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These settings can be adjusted depending on your hardware.
|
||||||
|
|
|
||||||
|
| time: Maximum amount of time it may take to compute the Argon2 hash.
|
||||||
|
| (default: 2)
|
||||||
|
|
|
||||||
|
| memory: Maximum memory (in bytes) that may be used to compute the
|
||||||
|
| Argon2 hash.
|
||||||
|
| (default : 1024)
|
||||||
|
|
|
||||||
|
| threads: Number of threads to use for computing the Argon2 hash.
|
||||||
|
| (default : 2)
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'argon' => [
|
||||||
|
'time' => 2,
|
||||||
|
'memory' => 1024,
|
||||||
|
'threads' => 2,
|
||||||
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue