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