jellyfin/MediaBrowser.Model/Cryptography/ICryptographyProvider.cs

14 lines
333 B
C#
Raw Normal View History

using System;
2016-10-27 22:54:56 +00:00
using System.IO;
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-11-03 22:34:16 +00:00
byte[] GetMD5Bytes(byte[] bytes);
}
2016-10-27 22:54:56 +00:00
}