Skip to main content

SPDZ Software

This web page is for the SPDZ MPC software system developed by the University of Bristol. It details the background of the software, how to access it, and the email list associated with the software.

The system here has the following features:

  1. It uses BDOZ/SPDZ style MACs.
  2. It uses the n-party variant of the TinyOT protocol to perform the pre-processing (outlined in some of the papers below).
  3. Works over any finite field GF(p) for p bigger than 40 bits; which is needed for statistical security. In practice to support floating and fixed point operations p may be 128 bits in size.
  4. Provides actively secure offline and online phases.
  5. It provides a python based front end to produce byte-code for execution by the system.
Before proceeding, please note that the software is provided "AS IS". We have no ability to provide support or help with your use of it.

The Software

You can download SPDZ from our git repository

Historical Background

The SPDZ system arises out of three papers, called BDOZ, SPDZ and TinyOT in much of the literature. The BDOZ paper introduced the idea of using linear homomorphic encryption to perform pre-processing, as well as the idea of ensuring an efficient online protocol using information theoretic MACs. The SPDZ paper outlined a much more efficient online phase using a different form of MAC, and used somewhat homomorphic encryption for the pre-processing. The TinyOT paper is focused on two party computation, uses BDOZ style MACs but uses OT as the pre-processing phase.

It was realised that all three protocols are essentially the same, but with tweaks related to how the MACs are produced, what finite fields are supported and what pre-processing is done. From a high level, they are all the same. Hence, one can select the best from each protocol and combine them. To avoid confusion in naming, or perhaps to add confusion, we call the resulting optimized system SPDZ; and it is this optimized system which we present here.

A large body of research work has gone into the system. As well as the papers detailed above the system builds on the following papers:

Email List Stuff

We have a mailing list for people using the software, which is the Google Group To post to this group you need to sign up and be approved.


The license for the software can be found here. This is basically the BSD two clause license. However, we request that any use of the software for scientific publications or commercial purposes should be reported to the University of Bristol ( quoting reference 1914). This is for impact and usage monitoring purposes only; so we can tell the original funders as to what impact their funding has had both academically and commercially.

Authors, Funders and Thanks

The following people have contributed to the code base The following people have contributed to the mathematics underlying the code base Thanks need to be extended to all our co-authors, and others in the community who have provided moral support and intellectual ideas. A special thanks goes to the team at Aarhus University (Damgard, Nielsen and Orlandi).

Finally the work on the project has been funded by a number of parties; including DARPA, EPSRC, ERC, and The Royal Society.