@staticmethod
def keygen(verbose=False):
    r = randint(1, UniqueRingSignature.q)
    x = pow(UniqueRingSignature.g, r, UniqueRingSignature.q)
    y = pow(UniqueRingSignature.g, x, UniqueRingSignature.q)
    if (verbose == True):
        print((((('KeyGen Config: public key y=' + str(y)) + ', private key x=') + str(x)) + '\n'))
        print('---- KeyGen Completed ---- \n')
    return (x, y)
@staticmethod
def keygen(verbose=False):
    r = randint(1, UniqueRingSignature.q)
    x = pow(UniqueRingSignature.g, r, UniqueRingSignature.q)
    y = pow(UniqueRingSignature.g, x, UniqueRingSignature.q)
    if (verbose == True):
        print((((('KeyGen Config: public key y=' + str(y)) + ', private key x=') + str(x)) + '\n'))
        print('---- KeyGen Completed ---- \n')
    return (x, y)