def egKey(s): p,a = p3_pair.pair(s) x = random.randint(1, p-2) y = pow(a,x,p) return p, a, x, y
def egKey(s): p, a = p3_pair.pair(s) x = random.randint(1, p - 2) y = pow(a, x, p) return p, a, x, y