Skip to content

Commit cc07d8e

Browse files
committed
update defaulte value $hashCost to 12
1 parent 0cd5f3f commit cc07d8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Config/Auth.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,14 @@ class Auth extends BaseConfig
354354
* --------------------------------------------------------------------
355355
* The BCRYPT method of hashing allows you to define the "cost"
356356
* or number of iterations made, whenever a password hash is created.
357-
* This defaults to a value of 10 which is an acceptable number.
357+
* This defaults to a value of 12 which is an acceptable number.
358358
* However, depending on the security needs of your application
359359
* and the power of your hardware, you might want to increase the
360360
* cost. This makes the hashing process takes longer.
361361
*
362362
* Valid range is between 4 - 31.
363363
*/
364-
public int $hashCost = 10;
364+
public int $hashCost = 12;
365365

366366
/**
367367
* If you need to support passwords saved in versions prior to Shield v1.0.0-beta.4.

0 commit comments

Comments
 (0)