Fully Homomorphic Liquid Democracy demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FHLD.cpp
README.md
delegate_votes.txt
delegations.txt
direct_votes.txt
run.sh
set_env

README.md

FHLD (Fully Homomorphic Liquid Democracy)

Fully Homomorphic Liquid Democracy demo using Shoup's HELib/NTL (https://github.com/shaih/HElib). This is experimental and can easily break.

Building HElib

(see also http://tommd.github.io/posts/HELib-Intro.html)

wget http://www.shoup.net/ntl/ntl-6.2.1.tar.gz
tar xzf ntl-6.2.1.tar.gz
cd ntl-6.2.1.tar.gz
./configure && make && sudo make install # or something like this

git clone git://github.com/shaih/HElib.git
cd HElib/src
make

Setting up FHLD

Edit the set_env file and set the HELIB variable path according to your path

Running

./run.sh

How it works