using BlueWest.WebApi.Context.Users;
using Microsoft.AspNetCore.Identity;
namespace BlueWest.Cryptography;
///
/// IHasher contract
///
internal interface IHasher : IPasswordHasher
{
///
/// Create hash
///
///
///
///
string CreateHash(string text, BaseCryptoItem.HashAlgorithm algorithm);
///
/// Create hash
///
///
///
///
///
string CreateHash(string text, string salt, BaseCryptoItem.HashAlgorithm algorithm);
///
/// MatchesHash
///
///
///
///
bool MatchesHash(string text, string hash);
}