jellyfin/MediaBrowser.Model/Cryptography/ICryptographyProvider.cs

13 lines
291 B
C#
Raw Normal View History

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