File tree Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Original file line number Diff line number Diff line change 19
19
20
20
/*
21
21
|--------------------------------------------------------------------------
22
- | bcrypt options
22
+ | Bcrypt Options
23
23
|--------------------------------------------------------------------------
24
24
|
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.
26
28
|
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)
32
29
*/
33
30
34
31
'bcrypt ' => [
37
34
38
35
/*
39
36
|--------------------------------------------------------------------------
40
- | argon options
37
+ | Argon Options
41
38
|--------------------------------------------------------------------------
42
39
|
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.
54
43
|
55
44
*/
56
45
57
46
'argon ' => [
58
- 'time ' => 2 ,
59
47
'memory ' => 1024 ,
60
48
'threads ' => 2 ,
49
+ 'time ' => 2 ,
61
50
],
62
51
63
52
];
You can’t perform that action at this time.
0 commit comments