using BlueWest.Data.Application.Users; using BlueWest.Data.Auth.Context.Users; using Microsoft.AspNetCore.Identity; namespace BlueWest.Cryptography; /// /// IHasher contract /// public 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); }