refactor: properly rename connections-related tables; top-level namespaces
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace ConnectionsAPI.Utility
|
||||
namespace ConnectionsAPI.Utility;
|
||||
public static class HashUtility
|
||||
{
|
||||
public static class HashUtility
|
||||
public static string CalculateMD5(string input)
|
||||
{
|
||||
public static string CalculateMD5(string input)
|
||||
{
|
||||
byte[] hash = MD5.HashData(Encoding.UTF8.GetBytes(input));
|
||||
return Convert.ToHexString(hash).Replace("-", string.Empty).ToLower();
|
||||
}
|
||||
byte[] hash = MD5.HashData(Encoding.UTF8.GetBytes(input));
|
||||
return Convert.ToHexString(hash).Replace("-", string.Empty).ToLower();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user