예제 #1
0
 public static int Encrypt(float PDGAOEAMDCL, int HDAJOEOLHGG)
 {
     ObscuredFloat.CLIIHCHMDEK cliihchmdek = new ObscuredFloat.CLIIHCHMDEK();
     cliihchmdek.f  = PDGAOEAMDCL;
     cliihchmdek.i ^= HDAJOEOLHGG;
     return(cliihchmdek.i);
 }
예제 #2
0
        private static ACTkByte4 InternalEncrypt(float PDGAOEAMDCL, int HDAJOEOLHGG)
        {
            int num = HDAJOEOLHGG;

            if (num == 0)
            {
                num = ObscuredFloat.cryptoKey;
            }
            ObscuredFloat.CLIIHCHMDEK cliihchmdek = new ObscuredFloat.CLIIHCHMDEK();
            cliihchmdek.f  = PDGAOEAMDCL;
            cliihchmdek.i ^= num;
            return(cliihchmdek.b4);
        }
예제 #3
0
 private float InternalDecrypt()
 {
     if (!this.inited)
     {
         this.currentCryptoKey = ObscuredFloat.cryptoKey;
         this.hiddenValue      = ObscuredFloat.InternalEncrypt(0.0f);
         this.inited           = true;
     }
     ObscuredFloat.CLIIHCHMDEK cliihchmdek = new ObscuredFloat.CLIIHCHMDEK();
     cliihchmdek.b4 = this.hiddenValue;
     cliihchmdek.i ^= this.currentCryptoKey;
     return(cliihchmdek.f);
 }