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;
/**
@@ -72,7 +73,7 @@ class CryptBlowfish extends AbstractAlgorithm
*/
public function configuration()
{
return [new CryptoParam("Cost", 10, 4, 31)];
return [new IntParam("Cost", 10, 4, 31)];
}
/**