Source

viff /

Filename Size Date modified Message
apps
doc
viff
649 B
132 B
182 B
17.6 KB
238 B
3.4 KB
2.3 KB
5.4 KB
175 B
7.1 KB
4.1 KB

VIFF: Virtual Ideal Functionality Framework

VIFF is a general framework for doing secure multi-party computations. In a secure multi-party computation several parties jointly compute an agreed function without leaking any information on their inputs. This could be an election where the correct tally is computed without revealing any information on the individual votes. In a protocol with n players, the confidentiality of the inputs is ensured when up to n/2 of the players are corrupted.

VIFF is Free Software licensed under the GNU General Public License (GPL) version 2 or later. Please see the file COPYING for details. Please see the INSTALL file for installation instructions.

Features

VIFF is still under development, but it is nevertheless quite usable and offers the following features:

  • secret sharing based on standard Shamir and pseudo-random secret sharing (PRSS).
  • arithmetic with shares from Zp or GF(2^8): addition, multiplication, exclusive-or.
  • two comparison protocols which compare secret shared Zp inputs, with secret GF(2^8) or Zp output.
  • reliable broadcast, even in the presence of active adversaries.
  • computations with any number of players for which an honest majority can be found.
  • optional support for encrypted TLS connections between the players.

All operations are automatically scheduled to run in parallel meaning that an operation starts as soon as the operands are ready.

The TODO file lists a number of ideas for future work.

Should you encounter a bug or have problems with VIFF, then please start by downloading the latest version on http://viff.dk/. If that does not help, then ask for help on the VIFF mailing list at

viff-devel@viff.dk

You can subscribe to the list at

http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Example Applications

The apps directory contains a number of example applications. They require player configuration files to be generated in advance, use apps/generate-config-files.py for that. Run apps/generate-certificates to generate certificates for TLS communication. This is optional, the examples that support command line arguments can be run with a --no-tls flag and will then use plain TCP connections. Finally, execute three players, starting with player 3, then 2, and finally 1.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.