Zend\Crypt\Key\Derivation\Scrypt::calc
Execute the scrypt algorithm
Signature
public function calc(string
$password,
string
$salt,
int
$n,
int
$r,
int
$p,
int
$length )
Parameters
$password
— string$salt
— string$n
— int- CPU cost
$r
— int- Memory cost
$p
— int- parallelization cost
$length
— int- size of the output key
Returns
- string