The function calculates the two prime factors of a semi prime number. If the two numbers are close to each other, Fermat's Theorem is used. The function could be useful in cryptography, especially RSA.
Cite As
Aniruddha Phatak (2026). semiprime123.m (https://nl.mathworks.com/matlabcentral/fileexchange/47673-semiprime123-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Encryption / Cryptography in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: dato anual, global thresholding, strat point for barrier method, pv cell, SMART GRID, Genetic Disorder Detection Using Gyromagnetic Ratio, highspeed, PV Panel Modeling, Baby Vein Detection, 3phase inverter
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
