issue#79 Password error on sha512 with salt
Added SHA-256, SHA-512
This commit is contained in:
@@ -24,7 +24,7 @@ namespace OCA\UserSQL\Crypto;
|
||||
use OCP\IL10N;
|
||||
|
||||
/**
|
||||
* SHA1 hash implementation.
|
||||
* SHA-1 hash implementation.
|
||||
*
|
||||
* @author Marcin Łojewski <dev@mlojewski.me>
|
||||
*/
|
||||
@@ -53,6 +53,6 @@ class SHA1 extends AbstractAlgorithm
|
||||
*/
|
||||
protected function getAlgorithmName()
|
||||
{
|
||||
return "SHA1";
|
||||
return "SHA-1";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user