Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/config/hashing.php
7382 views
1
<?php
2
3
return [
4
/*
5
|--------------------------------------------------------------------------
6
| Default Hash Driver
7
|--------------------------------------------------------------------------
8
|
9
| This option controls the default hash driver that will be used to hash
10
| passwords for your application. By default, the bcrypt algorithm is
11
| used; however, you remain free to modify this option if you wish.
12
|
13
| Supported: "bcrypt", "argon", "argon2id"
14
|
15
*/
16
17
'driver' => 'bcrypt',
18
19
/*
20
|--------------------------------------------------------------------------
21
| Bcrypt Options
22
|--------------------------------------------------------------------------
23
|
24
| Here you may specify the configuration options that should be used when
25
| passwords are hashed using the Bcrypt algorithm. This will allow you
26
| to control the amount of time it takes to hash the given password.
27
|
28
*/
29
30
'bcrypt' => [
31
'rounds' => env('BCRYPT_ROUNDS', 10),
32
],
33
34
/*
35
|--------------------------------------------------------------------------
36
| Argon Options
37
|--------------------------------------------------------------------------
38
|
39
| Here you may specify the configuration options that should be used when
40
| passwords are hashed using the Argon algorithm. These will allow you
41
| to control the amount of time it takes to hash the given password.
42
|
43
*/
44
45
'argon' => [
46
'memory' => 65536,
47
'threads' => 1,
48
'time' => 4,
49
],
50
];
51
52