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 (2024). powermod (https://www.mathworks.com/matlabcentral/fileexchange/39716-powermod), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Number Theory in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |