To compile the DGK.cpp file, run g++ -o DGK DGK.cpp
will produce the executable DGK
.
It can be run directly, without any input specified. It will generate 10 random x and y pairs, use DGK comparison to compare them.
To compile those files, run make
will produce an executable named lamport
.
It can be run directly, without any input specified. It will create 10 random binary messages(with only '0' and '1'), sign them and verify them, seperately.