Hash HMAC algo

This commit is contained in:
Marcin Łojewski
2020-04-13 14:10:27 +02:00
parent 7e9af00145
commit d7735280a0
18 changed files with 330 additions and 48 deletions

View File

@@ -21,6 +21,7 @@
namespace OCA\UserSQL\Crypto;
use OCA\UserSQL\Crypto\Param\IntParam;
use OCP\IL10N;
/**
@@ -160,7 +161,7 @@ class Phpass extends AbstractAlgorithm
*/
public function configuration()
{
return [new CryptoParam("Iterations (log2)", 8, 4, 31)];
return [new IntParam("Iterations (log2)", 8, 4, 31)];
}
/**