For more Details explanation
To recreate the Solution, use the following script. Also make sure GMP and OpenSSL are installed.
chmod +x run.sh
./run.sh
# This is for the cpp implementation.
# The script is for MAC devices only.
# For linux, just remove the -I -L flags.