mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
13 lines
284 B
C#
13 lines
284 B
C#
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);
|
|
}
|
|
} |