intento de muestra de gasolina
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

hashing.php 1.5 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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', 10),
  28. ],
  29. /*
  30. |--------------------------------------------------------------------------
  31. | Argon Options
  32. |--------------------------------------------------------------------------
  33. |
  34. | Here you may specify the configuration options that should be used when
  35. | passwords are hashed using the Argon algorithm. These will allow you
  36. | to control the amount of time it takes to hash the given password.
  37. |
  38. */
  39. 'argon' => [
  40. 'memory' => 65536,
  41. 'threads' => 1,
  42. 'time' => 4,
  43. ],
  44. ];