Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ashutosh1206
GitHub Repository: ashutosh1206/crypton
Path: blob/master/RSA-encryption/Intro-Challenges/Challenge-4/README.md
1402 views

Challenge-4

Level: 3

Description: You are given ciphertext of a message that is encrypted using encrypt.py and stored in ciphertext.txt. Also, you are given public key parameters in publickey.pem. Sometimes you have to look carefully how some values are being generated, and if their exists some pattern. Apply your school mathematics to solve this challenge! I am sure you will be happy once you get the solution to this challenge 😉

Points: 30

Documentation reference for libraries used:

  1. gmpy2: https://gmpy2.readthedocs.io/en/latest/

  2. pycrypto: https://www.dlitz.net/software/pycrypto/api/2.6/

  3. pycrypto's PublicKey RSA module: https://www.dlitz.net/software/pycrypto/api/2.6/toc-Crypto.PublicKey.RSA-module.html