logmod

Computes y such that mod(a^y, p^N) == x

Download
Download

You are now following this Submission

Cite As

Steven Gregory (2026). logmod (https://in.mathworks.com/matlabcentral/fileexchange/23803-logmod), 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.4.0

Brought the description up to date. This routine no longer needs the m-file modinv.m.

Download
1.3.0

Modified to correct logic errors and to exploit the latest version of the vpi software. A Microsoft word file has been included that describes and proves the algorithm used.

Download
1.2.0

Rewrote the description.

Download
1.0.0

Download