Zend\Crypt\Key\Derivation\Pbkdf2::calc
Generate the new key
Signature
public function calc(string
$hash,
string
$password,
string
$salt,
int
$iterations,
int
$length )
Parameters
$hash
— string- The hash algorithm to be used by HMAC
$password
— string- The source password/key
$salt
— string$iterations
— int- The number of iterations
$length
— int- The output size
Returns
- string