Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 530 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 530 Bytes

Factorization of RSA numbers n = pq by Fermat’s method

Course project for EE 720: Number theory and Cryptology

#Problem Statement

• Implement the Fermat’s method for factoring RSA numbers n = pq in SAGE for randomly chosen primes upto 10 digit length

• Input: command to generate two primes p, q randomly and compute n = pq.

• Output: Factors of n, factors of p − 1 and q − 1.

#Details Details about Fermat's factorization method can be found at https://en.wikipedia.org/wiki/Fermat%27s_factorization_method