powermod

Calculates x^p mod N

You are now following this Submission

This is a function that calculates x^p mod N for large value of x^p when the value is out of range of Matlab. One example of this function is for RSA cyphering and deciphering using prime numbers.

Cite As

Dev (2026). powermod (https://www.mathworks.com/matlabcentral/fileexchange/39716-powermod), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0