issue#79 Password error on sha512 with salt

Added SHA-256, SHA-512
This commit is contained in:
Marcin Łojewski
2018-12-16 12:32:49 +01:00
parent c6c345873c
commit fb029b8b27
7 changed files with 247 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ namespace OCA\UserSQL\Crypto;
use OCP\IL10N;
/**
* SHA512 Whirlpool hash implementation.
* SHA-512 Whirlpool hash implementation.
*
* @author Marcin Łojewski <dev@mlojewski.me>
*/
@@ -53,6 +53,6 @@ class SHA512Whirlpool extends AbstractAlgorithm
*/
protected function getAlgorithmName()
{
return "SHA512 Whirlpool";
return "SHA-512 Whirlpool";
}
}