semiprime123.m

Factors of a semiprime number
392 Downloads
Updated 28 Aug 2014

View License

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 (2024). semiprime123.m (https://www.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 Linux
Categories
Find more on Encryption / Cryptography in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0