

def generate_numbers(self):
    for i in range(624):
        y = ((self.MT[i] & 2147483648) + (self.MT[((i + 1) % 624)] & 2147483647))
        self.MT[i] = (self.MT[((i + 397) % 624)] ^ (y >> 1))
        if ((y % 2) != 0):
            self.MT[i] = (self.MT[i] ^ 2567483615)

dataset/ETHPy150Open reschly/cryptopals/prob21.py MT19937.generate_numbers/original