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

Challenge-0

Level: 1

Description: A simple walkthrough over how unpadded RSA encryption works. You are given the ciphertext encryted using RSA in ciphertext.txt and encrypt.py is used to encrypt the flag. Read how the encryption works from encrypt.py, calculate d using p,q given and hence get the flag.

Points: 10

Documentation reference for libraries used:

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

  2. [OPTIONAL] gmpy2: https://gmpy2.readthedocs.io/en/latest/