mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
Added tests for the string hash
This commit is contained in:
parent
ae64c11485
commit
f0ce5556c3
4 changed files with 59 additions and 4 deletions
|
@ -31,7 +31,7 @@ namespace PlexRequests.Helpers
|
|||
{
|
||||
public class StringHasher
|
||||
{
|
||||
public static string CalcuateMD5Hash(string input)
|
||||
public static string CalcuateMd5Hash(string input)
|
||||
{
|
||||
using (var md5 = MD5.Create())
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ namespace PlexRequests.Helpers
|
|||
|
||||
var sb = new StringBuilder();
|
||||
|
||||
foreach (byte t in hash)
|
||||
foreach (var t in hash)
|
||||
{
|
||||
sb.Append(t.ToString("x2"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue