#pragma warning disable CS1591 using System; namespace MediaBrowser.Model.Cryptography { public interface ICryptoProvider { string DefaultHashMethod { get; } /// /// Creates a new instance. /// /// The password that will be hashed. /// A instance with the hash method, hash, salt and number of iterations. PasswordHash CreatePasswordHash(ReadOnlySpan password); bool Verify(PasswordHash hash, ReadOnlySpan password); byte[] GenerateSalt(); byte[] GenerateSalt(int length); } }