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:
- pycrypto: https://www.dlitz.net/software/pycrypto/api/2.6/
- [OPTIONAL] gmpy2: https://gmpy2.readthedocs.io/en/latest/