public __construct ( integer $dynamicSaltLength, integer $iterationCount, integer $derivedKeyLength, string $algorithm ) | ||
$dynamicSaltLength | integer | Length of the dynamic random salt to generate in bytes |
$iterationCount | integer | Hash iteration count, high counts (>10.000) make brute-force attacks unfeasible |
$derivedKeyLength | integer | Derived key length |
$algorithm | string | Hash algorithm to use, see hash_algos() |
public function __construct($dynamicSaltLength, $iterationCount, $derivedKeyLength, $algorithm)
{
$this->dynamicSaltLength = $dynamicSaltLength;
$this->iterationCount = $iterationCount;
$this->derivedKeyLength = $derivedKeyLength;
$this->algorithm = $algorithm;
}