Hash configuration

This commit is contained in:
Marcin Łojewski
2018-07-10 22:19:50 +02:00
parent 50da49c820
commit 924886dd9a
9 changed files with 105 additions and 2 deletions

View File

@@ -49,6 +49,19 @@ class CryptSHA512 extends AbstractCrypt
$this->rounds = $rounds;
}
/**
* @inheritdoc
*/
public function configuration()
{
return [
[
"name" => "rounds", "visible_name" => "Rounds", "default" => 5000,
"min" => 1000, "max" => 999999999
]
];
}
/**
* @inheritdoc
*/