11 lines
313 B
C#
11 lines
313 B
C#
namespace F9WebAiTest.Application.Interfaces.Security;
|
|
|
|
/// <summary>密码哈希服务</summary>
|
|
public interface IPasswordHasher
|
|
{
|
|
string Hash256(string input);
|
|
string GetMd5Hash(string input);
|
|
string HashPassword(string password);
|
|
bool VerifyPassword(string password, string hashedPassword);
|
|
}
|