This module provides one python script to generate a RSA key pair and two python scipts for encryption and decryption of files using RSA public and private key. The session is actually encypted with RSA public key. The session key is used to encrypt the file using AES in GCM mode
https://en.wikipedia.org/wiki/Galois/Counter_Mode
It requires Python and Pycryptodomehttp://pycryptodome.readthedocs.io/en/latest/src/introduction.html
You can get Pycryptodome by running "pip install pycryptodome"
You should do it in a virtual enviorment if you already have pycrypto as it is a fork of pycrypto and they might interfeare with each other in unexpted ways
- Download the files
- From terminal, run "python rsa_keygen.py"
- From terminal, run "python RFET.py"
- It will guide you through the process
- You have to use the public key corresponding to the private key that will be used to decrypt
- From terminal, run "python RFDT.py"
- It will guide you through the process