ICryptographyProvider.cs 333 B

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