Quote:
Originally Posted by timorrill x^d mod p = x^(d mod (p-1)) mod p
Can anyone help to explain this? | Assuming  .
Let  .
Let  .
Then  if and only if  if and only if  . But  and  so  .
__________________ We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America. |