Exemple #1
0
 public static Decimal Decrypt(Decimal PDGAOEAMDCL, long HDAJOEOLHGG)
 {
     ObscuredDecimal.HAIHIJOPFAC haihijopfac = new ObscuredDecimal.HAIHIJOPFAC();
     haihijopfac.d   = PDGAOEAMDCL;
     haihijopfac.l1 ^= HDAJOEOLHGG;
     haihijopfac.l2 ^= HDAJOEOLHGG;
     return(haihijopfac.d);
 }
Exemple #2
0
        private static ACTkByte16 InternalEncrypt(Decimal PDGAOEAMDCL, long HDAJOEOLHGG)
        {
            long num = HDAJOEOLHGG;

            if (num == 0L)
            {
                num = ObscuredDecimal.cryptoKey;
            }
            ObscuredDecimal.HAIHIJOPFAC haihijopfac = new ObscuredDecimal.HAIHIJOPFAC();
            haihijopfac.d   = PDGAOEAMDCL;
            haihijopfac.l1 ^= num;
            haihijopfac.l2 ^= num;
            return(haihijopfac.b16);
        }
Exemple #3
0
 private Decimal InternalDecrypt()
 {
     if (!this.inited)
     {
         this.currentCryptoKey = ObscuredDecimal.cryptoKey;
         this.hiddenValue      = ObscuredDecimal.InternalEncrypt(0M);
         this.inited           = true;
     }
     ObscuredDecimal.HAIHIJOPFAC haihijopfac = new ObscuredDecimal.HAIHIJOPFAC();
     haihijopfac.b16 = this.hiddenValue;
     haihijopfac.l1 ^= this.currentCryptoKey;
     haihijopfac.l2 ^= this.currentCryptoKey;
     return(haihijopfac.d);
 }