LethalCompany/Lethal Company/ExportedProject/Assets/Plugins/Assembly-CSharp-firstpass/ES3Internal/ES3Hash.cs
2023-12-22 18:30:10 -05:00

14 lines
316 B
C#

using System.Security.Cryptography;
using System.Text;
namespace ES3Internal
{
public static class ES3Hash
{
public static string SHA1Hash(string input)
{
using SHA1Managed sHA1Managed = new SHA1Managed();
return Encoding.UTF8.GetString(sHA1Managed.ComputeHash(Encoding.UTF8.GetBytes(input)));
}
}
}