jellyfin/MediaBrowser.Model/Cryptography/ICryptoProvider.cs

13 lines
284 B
C#
Raw Normal View History

2016-11-08 18:44:23 +00:00
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);
}
}