aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Cryptography/ICryptoProvider.cs
blob: b027d2ad0b6c5be7997525e635d7370cd8ea79d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
    }
}