Files
Liberium-1.8-Source-Code/Server.Helper.Bulider/EncryptString.cs
T

26 lines
385 B
C#
Raw Normal View History

2026-08-27 11:21:58 -06:00
namespace Server.Helper.Bulider;
internal class EncryptString
{
public string enc = "%enc%";
public string dec = "%dec%";
public string Encrypt(string text)
{
string text2 = "";
foreach (char c in text)
{
for (int j = 0; j < enc.Length; j++)
{
if (enc[j] == c)
{
text2 += dec[j];
break;
}
}
}
return text2;
}
}