mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed previous commit.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user