本帖最后由 JemmyloveJenny 于 2019-7-7 13:47 编辑
你这次有点过分了啊……俄文的MD5还原不了额
反正密码的MD5是BA2CAF7CB9AD24E932AF9DA88251F4C0
然后解混淆嘛,我大概给你重写一下
public void DoCheck()
{
if (IF.Text != "")
{
string input = Encoding.ASCII.GetString(GetAAA(IF.Text));
string passwd = Encoding.ASCII.GetString(new byte[] { 0xBA, 0x2C, 0xAF, 0x7C, 0xB9, 0xAD, 0x24, 0xE9, 0x32, 0xAF, 0x9D, 0xA8, 0x82, 0x51, 0xF4, 0xC0 });
if (input != passwd)
{
System.Diagnostics.Process.GetCurrentProcess().Kill();
}
else
{
base.CancelInvoke("DoCheck");
base.InvokeRepeating("DoUp", 0, 0.001);
IF.gameObject.SetActive(false);
OK.Text = "恭喜你成功了!";
Log("恭喜你成功了!我现在才知道牛逼是形容词!");
}
}
}
public static byte[] GetAAA(string input)
{
MD5CryptoServiceProvider mD5 = new MD5CryptoServiceProvider();
return mD5.ComputeHash(Encoding.ASCII.GetBytes(input));
}
|