aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Cryptography/ICryptographyProvider.cs
blob: a3f86f9e284dbbe2706ca4f61594af800badb98b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.IO;

namespace MediaBrowser.Model.Cryptography
{
    public interface ICryptographyProvider
    {
        Guid GetMD5(string str);
        byte[] GetMD5Bytes(string str);
        byte[] GetSHA1Bytes(byte[] bytes);
        byte[] GetMD5Bytes(Stream str);
        byte[] GetMD5Bytes(byte[] bytes);
    }
}