Authentication Service
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Server.Services.Auth;
|
||||
|
||||
public interface IPasswordHasher
|
||||
{
|
||||
void Hash(string password, out byte[] hash, out byte[] salt);
|
||||
bool Verify(string password, byte[] hash, byte[] salt);
|
||||
}
|
||||
Reference in New Issue
Block a user