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

@@ -67,6 +67,19 @@ class CryptBlowfish extends AbstractAlgorithm
);
}
/**
* @inheritdoc
*/
public function configuration()
{
return [
[
"name" => "cost", "visible_name" => "Cost", "default" => 10,
"min" => 4, "max" => 31
]
];
}
/**
* Get the algorithm name.
*