Question: Implement a Fermat factorization attack you should first implement a basic algorithm which can factor small n such as n = 1 1 4 1
Implement a Fermat factorization attack
you should first implement a basic algorithm which can factor small n
such as ntaken from the homework problems in chapter
Implement a p factorization attack
feel free to create a different BadRSAkey class which is succeptible to the p attack.
it may also be possible to modify the example code above to use the same BadRSAkey with different checks
Demonstrate via one of the two attacks above that you can factor a key with bit primes p and q
In PYTHON please.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
