jellyfin/MediaBrowser.Model/Cryptography/ICryptographyProvider.cs

13 lines
291 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-10-27 22:54:56 +00:00
}