source: config/hashing.php@ c454c0f

main
Last change on this file since c454c0f was c454c0f, checked in by bube-ristovska <ristovska725@…>, 11 months ago

First commit

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<?php
2
3return [
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', 12),
33 'verify' => true,
34 ],
35
36 /*
37 |--------------------------------------------------------------------------
38 | Argon Options
39 |--------------------------------------------------------------------------
40 |
41 | Here you may specify the configuration options that should be used when
42 | passwords are hashed using the Argon algorithm. These will allow you
43 | to control the amount of time it takes to hash the given password.
44 |
45 */
46
47 'argon' => [
48 'memory' => 65536,
49 'threads' => 1,
50 'time' => 4,
51 'verify' => true,
52 ],
53
54];
Note: See TracBrowser for help on using the repository browser.