Skip to content

Latest commit

 

History

History

Week12

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
Week12 assignment

Instructions to run: Modules needed (crypto, pycrypto)

./Week12.py

Output:

C:\Python27\python.exe C:/Users/hkommineni/PycharmProjects/Crypto/Week12/Week12.py
Implement RSA
Value of p: 149389820188681868630578916337353197049822723466673071779728280101338317752812244847590218037388536265623048231795540318692154884377715592190513101844524018906059061556897978178833510767091166401366388613776885106066077672450371217217416586730199490000616716253000648050591783388852479482544104080261375625101
Value of q: 165039850521216689094300385282415104017462348799283613173260353076142475762698566413087358263944732403641864862038436557827415467268134360424441269485327327832155562056107419892176517195599956686372683883208274318643611911206482250127858879484576770389515050059609337604200545312371834220627491455194250755453
165039850521216689094300385282415104017462348799283613173260353076142475762698566413087358263944732403641864862038436557827415467268134360424441269485327327832155562056107419892176517195599956686372683883208274318643611911206482250127858879484576770389515050059609337604200545312371834220627491455194250755453
Encrypting: No Pain No Gain!
c: 1133216717740867372597648322529371178165101966568094213657694774865011698992114375101201450078402550533077306922593
Decrypted:  No Pain No Gain!

Implement an E=3 RSA Broadcast attack
Encrypting: No Pain No Gain!
aDecrypted:  No Pain No Gain!


Process finished with exit code 0