Skip to content

Commit 50ffc7d

Browse files
committed
formatting
1 parent 11f0e4e commit 50ffc7d

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

config/hashing.php

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@
1919

2020
/*
2121
|--------------------------------------------------------------------------
22-
| bcrypt options
22+
| Bcrypt Options
2323
|--------------------------------------------------------------------------
2424
|
25-
| Here you can define the number of rounds the bcrypt algo will be using.
25+
| Here you may specify the configuration options that should be used when
26+
| passwords are hashed using the Bcrypt algorithm. This will allow you
27+
| to control the amount of time it takes to hash the given password.
2628
|
27-
| rounds: The two digit cost parameter is the base-2 logarithm of the
28-
| iteration count for the underlying Blowfish-based hashing
29-
| algorithmeter and must be in range 04-31, values outside this
30-
| range will cause crypt() to fail.
31-
| (default: 10)
3229
*/
3330

3431
'bcrypt' => [
@@ -37,27 +34,19 @@
3734

3835
/*
3936
|--------------------------------------------------------------------------
40-
| argon options
37+
| Argon Options
4138
|--------------------------------------------------------------------------
4239
|
43-
| These settings can be adjusted depending on your hardware.
44-
|
45-
| time: Maximum amount of time it may take to compute the Argon2 hash.
46-
| (default: 2)
47-
|
48-
| memory: Maximum memory (in bytes) that may be used to compute the
49-
| Argon2 hash.
50-
| (default : 1024)
51-
|
52-
| threads: Number of threads to use for computing the Argon2 hash.
53-
| (default : 2)
40+
| Here you may specify the configuration options that should be used when
41+
| passwords are hashed using the Argon algorithm. These will allow you
42+
| to control the amount of time it takes to hash the given password.
5443
|
5544
*/
5645

5746
'argon' => [
58-
'time' => 2,
5947
'memory' => 1024,
6048
'threads' => 2,
49+
'time' => 2,
6150
],
6251

6352
];

0 commit comments

Comments
 (0)