Assignment 6 - Program to verify the digital signature generated for a message using a random chosen private key
- Please ignore if the library is already present in your system.
- Please find the installation details in https://www.cs.sjsu.edu/~mak/tutorials/InstallMPIR.pdf
- Download source files from http://mpir.org/downloads.html .Choose the latest version from "Old versions".
- Unzip and cd to this folder from terminal window
- Enter the following cmds
- ./configure --enable-cxx
- make
- If make is not successful, ensure yasm and m4 are installed
- sudo apt install yasm
- sudo apt install m4
- make check
- sudo make install
- sudo ldconfig
- Download the file Elgamal.cpp
- Use the following cmd to compile => g++ -std=gnu++11 dss.cpp -o dss -lmpir -lssl -lcrypto
- To execute the program use the following cmd => ./dss
Name : Nileena P C RollNo : CS21M519 Email-ID : [email protected]