How to use modulus operations efficiently properly in functions containing large multiplication and power operations??
Be more specific.
Give an example of what you want to do.
I don’t understand what exactly you mean.
But picking up keywords- efficient, large multiplication, power modulus, i think what you are looking for is Exponential by squaring.
See this page for a detailed explanation
Hope this helps