2016-10-23 19:14:57 +00:00
|
|
|
|
using System;
|
2016-10-27 22:54:56 +00:00
|
|
|
|
using System.IO;
|
2016-10-23 19:14:57 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Cryptography
|
|
|
|
|
{
|
|
|
|
|
public interface ICryptographyProvider
|
|
|
|
|
{
|
|
|
|
|
Guid GetMD5(string str);
|
2016-10-27 22:54:56 +00:00
|
|
|
|
byte[] GetMD5Bytes(string str);
|
2016-11-03 07:14:14 +00:00
|
|
|
|
byte[] GetSHA1Bytes(byte[] bytes);
|
2016-10-27 22:54:56 +00:00
|
|
|
|
byte[] GetMD5Bytes(Stream str);
|
2016-10-23 19:14:57 +00:00
|
|
|
|
}
|
2016-10-27 22:54:56 +00:00
|
|
|
|
}
|