mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed #1189
This commit is contained in:
parent
4df12281c5
commit
9a1b0c49ec
4 changed files with 45 additions and 22 deletions
|
@ -35,6 +35,10 @@ namespace Ombi.Helpers
|
|||
{
|
||||
public static string CalcuateMd5Hash(string input)
|
||||
{
|
||||
if (string.IsNullOrEmpty(input))
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
using (var md5 = MD5.Create())
|
||||
{
|
||||
var inputBytes = Encoding.UTF8.GetBytes(input);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue