def fermat_little_theorem(p):

    a = randint(1, p-1)
    return fast_exponentiation(a, p-1, p)
Returns 1 if p may be prime, and something else if p definitely
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/rsa/_version133.py/fermat_little_theorem