Example #1
0
            private int GetInt()
            {
                if (this.IX == 0)
                {
                    this.MixBuffer();
                }
                var val = this.Buffer[this.IX];

                this.IX = (this.IX + 1) % 624;
                val    ^= Scrambler.RShift(val, 11) ^ Scrambler.LShift(val ^ Scrambler.RShift(val, 11), 7) & 0x9D2C5680;
                return((int)(Scrambler.RShift(val ^ Scrambler.LShift(val, 15L) & 0xEFC60000, 18L) ^ val ^ Scrambler.LShift(val, 15L) & 0xEFC60000));
            }