1 2 3 4 5 6 7 8 9 10 11 12 13
using System; using System.IO; namespace MediaBrowser.Model.Cryptography { public interface ICryptoProvider { Guid GetMD5(string str); byte[] ComputeMD5(Stream str); byte[] ComputeMD5(byte[] bytes); byte[] ComputeSHA1(byte[] bytes); } }