Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 915 Bytes

README.md

File metadata and controls

26 lines (24 loc) · 915 Bytes

DSA-Mini-Project-RSA

Name: PATIL AKASH M.

MIS No: 111503075

RSA Encryption using C

This program encrypts/decrypts given text file using RSA asymmectric algorithm.

About Project

  • 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

Usage

    $ make
  • For Help
  • $ ./program -h
  • For Encryption
  • $ ./program -e filename1 filename2 filename3
  • For Decryption
  • $ ./program -d filename1 filename2 filename3