Saving
This commit is contained in:
9
PrivaPub/StaticServices/IPasswordHasher.cs
Normal file
9
PrivaPub/StaticServices/IPasswordHasher.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace PrivaPub.StaticServices
|
||||
{
|
||||
public interface IPasswordHasher
|
||||
{
|
||||
string Hash(string password);
|
||||
|
||||
(bool verified, bool needsUpgrade) Check(string hash, string password);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user