ICryptoProvider.cs 282 B

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