parent
83e73ae619
commit
3410ebe3de
13
main_form.cs
13
main_form.cs
|
@ -28,17 +28,17 @@ namespace KRY_0x01_ng
|
|||
|
||||
string restore_order(string str)
|
||||
{
|
||||
string alpha_str = Regex.Replace(str, "SPACEBRO", " ");
|
||||
Regex.Replace(alpha_str, "COMMABRO", ",");
|
||||
return Regex.Replace(alpha_str, "DOTBRO", ".");
|
||||
string alpha_str = Regex.Replace(str, "SPACEBRO|SPACEBROX", " ");
|
||||
alpha_str = Regex.Replace(alpha_str, "COMMABRO|COMXMABRO|COMMANDBROX", ",");
|
||||
return alpha_str.Replace("DOTBRO|DOTBROX", ".");
|
||||
}
|
||||
|
||||
string introduce_chaos(string str)
|
||||
{
|
||||
string nustr = Regex.Replace(str, " ", "SPACEBRO");
|
||||
Regex.Replace(nustr, "W", "V");
|
||||
Regex.Replace(nustr, ",", "COMMABRO");
|
||||
return Regex.Replace(nustr, ".", "DOTBRO");
|
||||
nustr = Regex.Replace(nustr, "W", "V");
|
||||
nustr = Regex.Replace(nustr, ",", "COMMABRO");
|
||||
return nustr.Replace(".", "DOTBRO");
|
||||
}
|
||||
|
||||
string pad(string str)
|
||||
|
@ -341,6 +341,7 @@ namespace KRY_0x01_ng
|
|||
}
|
||||
textBox13.Text = message;
|
||||
message = restore_order(message);
|
||||
textBox12.Text = message;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue