Symfony\Component\Security\Core\Encoder\Pbkdf2PasswordEncoder::__construct
Constructor.
Signature
public function __construct([string
$algorithm = 'sha512',
[Boolean
$encodeHashAsBase64 = true,
[integer
$iterations = 1000,
[integer
$length = 40]]]] )
Parameters
$algorithm
—
string
- The digest algorithm to use
$encodeHashAsBase64
—
object
- Whether to base64 encode the password hash
$iterations
—
integer
- The number of iterations to use to stretch the password hash
$length
—
integer
- Length of derived key to create