Fixed previous commit.

This commit is contained in:
ruri
2019-10-30 08:51:41 +01:00
parent e970d88b20
commit 5f0db13512
2 changed files with 6 additions and 1 deletions
+6
View File
@@ -144,6 +144,9 @@ namespace RuriLib
/// </summary>
public enum Hash
{
/// <summary>The MD4 hashing function (128 bits digest).</summary>
MD4,
/// <summary>The MD5 hashing function (128 bits digest).</summary>
MD5,
@@ -746,6 +749,9 @@ namespace RuriLib
{
switch (type)
{
case Hash.MD4:
return Crypto.MD4(baseString);
case Hash.MD5:
return Crypto.MD5(baseString);
-1
View File
@@ -5,7 +5,6 @@ using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.Encoding;
using System.Threading.Tasks;
namespace RuriLib.Functions.Crypto