File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 17
17
18
18
'driver ' => 'bcrypt ' ,
19
19
20
+ /*
21
+ |--------------------------------------------------------------------------
22
+ | bcrypt options
23
+ |--------------------------------------------------------------------------
24
+ |
25
+ | Here you can define the number of rounds the bcrypt algo will be using.
26
+ |
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
+ */
33
+
34
+ 'bcrypt ' => [
35
+ 'rounds ' => 10 ,
36
+ ],
37
+
38
+ /*
39
+ |--------------------------------------------------------------------------
40
+ | argon options
41
+ |--------------------------------------------------------------------------
42
+ |
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)
54
+ |
55
+ */
56
+
57
+ 'argon ' => [
58
+ 'time ' => 2 ,
59
+ 'memory ' => 1024 ,
60
+ 'threads ' => 2 ,
61
+ ],
62
+
20
63
];
You can’t perform that action at this time.
0 commit comments