This program encrypts/decrypts given text file using RSA asymmectric algorithm.
- RSA algorithm uses two big (100 digit) prime numbers to generate Public and Private key
- For computation GMP Library (GNU Multiple Precision Arithmetic Library) is used
- For genrating prime Miller-Rabin algorithm is used
- This Program takes input as text file from user and encrypts data and also saves Private Key in another file
- Using Private Key User can decrypt data again
-
$ make
- For Help $ ./program -h
- For Encryption $ ./program -e filename1 filename2 filename3
- For Decryption $ ./program -d filename1 filename2 filename3