develop
Last change
on this file since 112ba6d was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[2fc88ec] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | return [
|
---|
| 4 |
|
---|
| 5 | /*
|
---|
| 6 | |--------------------------------------------------------------------------
|
---|
| 7 | | Default Hash Driver
|
---|
| 8 | |--------------------------------------------------------------------------
|
---|
| 9 | |
|
---|
| 10 | | This option controls the default hash driver that will be used to hash
|
---|
| 11 | | passwords for your application. By default, the bcrypt algorithm is
|
---|
| 12 | | used; however, you remain free to modify this option if you wish.
|
---|
| 13 | |
|
---|
| 14 | | Supported: "bcrypt", "argon", "argon2id"
|
---|
| 15 | |
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | 'driver' => 'bcrypt',
|
---|
| 19 |
|
---|
| 20 | /*
|
---|
| 21 | |--------------------------------------------------------------------------
|
---|
| 22 | | Bcrypt Options
|
---|
| 23 | |--------------------------------------------------------------------------
|
---|
| 24 | |
|
---|
| 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.
|
---|
| 28 | |
|
---|
| 29 | */
|
---|
| 30 |
|
---|
| 31 | 'bcrypt' => [
|
---|
| 32 | 'rounds' => env('BCRYPT_ROUNDS', 10),
|
---|
| 33 | ],
|
---|
| 34 |
|
---|
| 35 | /*
|
---|
| 36 | |--------------------------------------------------------------------------
|
---|
| 37 | | Argon Options
|
---|
| 38 | |--------------------------------------------------------------------------
|
---|
| 39 | |
|
---|
| 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.
|
---|
| 43 | |
|
---|
| 44 | */
|
---|
| 45 |
|
---|
| 46 | 'argon' => [
|
---|
| 47 | 'memory' => 1024,
|
---|
| 48 | 'threads' => 2,
|
---|
| 49 | 'time' => 2,
|
---|
| 50 | ],
|
---|
| 51 |
|
---|
| 52 | ];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.