

def __init__(self, seed):
    self.idx = 0
    self.mt = [z for z in range(self.length)]
    self.mt[0] = seed
    for i in range(1, self.length):
        self.mt[i] = (((1812433253 * (self.mt[(i - 1)] ^ (self.mt[(i - 1)] >> 30))) + i) & self.bitMask_32)

dataset/ETHPy150Open reschly/cryptopals/prob21.py operaRandom.__init__/original