예제 #1
0
class MixedXor:
    def __init__(self, j, k, m, initial, j2, k2, m2, initial2):
        self.first = AWC(j, k, m, initial)
        self.second = FibAdd(j2, k2, m2, initial2)

    def get_next(self):
        return self.first.get_next() ^ self.second.get_next()
예제 #2
0
 def __init__(self, j, k, m, initial, j2, k2, m2, initial2):
     self.first = AWC(j, k, m, initial)
     self.second = FibAdd(j2, k2, m2, initial2)