move classes to portable project

This commit is contained in:
Luke Pulverenti
2016-11-03 18:34:16 -04:00
parent 1d62a88fd8
commit f52373609e
27 changed files with 89 additions and 71 deletions

View File

@@ -35,5 +35,13 @@ namespace Emby.Common.Implementations.Cryptography
return provider.ComputeHash(str);
}
}
public byte[] GetMD5Bytes(byte[] bytes)
{
using (var provider = MD5.Create())
{
return provider.ComputeHash(bytes);
}
}
}
}