Laravel - Hashing - Adjusting The Argon2 Work Factor
If you are using the Argon2 algorithm, the
make method allows you to manage the work factor of the algorithm using the
threads options; however, the default values managed by Laravel are acceptable for most applications:
$hashed = Hash::make('password', [ 'memory' => 1024, 'time' => 2, 'threads' => 2, ]);
For more information on these options, please refer to the official PHP documentation regarding Argon hashing.