Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Latest commit

 

History

History

Challenge-4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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