Wedding Invitation
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

hashing.php 1.6KB

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