8 lines
199 B
C#
8 lines
199 B
C#
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);
|
|
}
|