big x^y modulo function

provide the solution when the normal mod function can't because the input is to big

Al momento, stai seguendo questo contributo

In some fields as cryptology (RAS-cryption), there is a need of doing x^y mod m where x, y and n are huge. The build-in maltab function can't achieve the result because it first calculate x^y and found it is equals to inf. The hereunder function provides a performent solution to this problem and gives the right answer...

Cita come

Michael Neve (2026). big x^y modulo function (https://it.mathworks.com/matlabcentral/fileexchange/932-big-x-y-modulo-function), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: big modulo function

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0