Modular Exponentiation with Fermat's little theorem

后端 未结 0 366
一向
一向 2021-01-28 11:25

How can I compute x^(y^z) mod p in O(log(max{x, y, z, p}) time using Fermat\'s little theorem where x,y,z,p are Natural numbers and p is prime

相关标签:
回答
  • 消灭零回复
提交回复
热议问题