This project was created with the interest of facilitating the resolution of a laborious algorithm which is the power mod I was starting in JavaScript, I believe it is possible to do it in some other way, however, all values are correct and tested numerous times. The entire code is commented in Portuguese and English.
On the first screen enter the values into the calculator:
The calculator will demonstrate algorithm construction and the final result.
The results in the columns of the red numbers will be multiplied and after the mod, you will get the final result:
Ítalo Sérvio |