Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.33 KB

README.md

File metadata and controls

60 lines (46 loc) · 1.33 KB

CS4062D Introduction to Information Security Assignment 2

By Dev Sony, B180297CS

Github Repo

The main source code is in src/

Compile

To compile a .cpp file from src/, use the make command as follows and pass the filename without the extension. The output file will be stored in the build/ folder.

// make file=<filename>
make file=RSA

Running the Code

To run the code, simply run the output file as per the example given below.

// ./build/<filename>
./build/RSA

Extra Notes

Utility files have been added in the utils/ folder. They contain necessary functions to facilitate parameter Generation and Convertions.

Screenshots (Encryption)

RSA

512 BITS

RSA512

1024 BITS

RSA512

El Gamal

512 BITS

ElGamal512

1024 BITS

ElGamal1024

ECC

ECC

Screenshots (Digital Signatures)

RSA

RSA512 RSA1024

El Gamal

ElGamal512 ElGamal1024

ECC

ECC