2019-01-13 20:02:23 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
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);
|
|
|
|
}
|
2019-01-13 19:31:15 +00:00
|
|
|
}
|