Prototype implementation of two schemes described in the Anonymous proxy re-encryption
paper, avaiable here.
The schemes implemented are:
The modified ElGamal encryption
described in section 3.2, calledlib-elgamal-mod
in the sourcesAnonymous proxy re-encryption
described in section 4.1, calledlib-anon-proxy
in the sources
The project is structured as follows:
.
├── bin # contains the executables
├── docs # contains the paper
├── examples # contains two examples of usage
├── libs-mdr # contains utility libraries made by professor Mario Di Raimondo
├── src # contains the source files
└── test # contains the test/bench files
Move to the root directory and type:
make
You can change some params in the CMakeLists.txt
file and rebuild the Makefile
typing:
cmake .
After building, you will find all the executables in the bin
folder. You can see the examples
in the examples/ folder to learn how to use the libraries.
Testing and benchmarking is avaiable with test-elgamal-mod
and test-anon-proxy
binaries.
Usage of test-elgamal-mod
:
./test-elgamal-mod [verbose|quiet] [lambda 80|112|128] [seed <n>] [message <n>] [use-pp] [bench]
Usage of test-anon-proxy
:
./test-anon-proxy [verbose|quiet] [all|original|proxy] [lambda 80|112|128] [seed <n>] [message <n>] [g-pp] [pk-pp] [bench]