@hackage hMPC0.1.0.2
Multiparty Computation in Haskell
Categories
License
BSD-3-Clause
Maintainer
nick.vangils@hotmail.com
Links
Versions
Installation
Dependencies (18)
- base >=4.7 && <5
- binary >=0.8.8 && <0.9
- bytestring >=0.10.12 && <0.13
- cereal >=0.5.8 && <0.6
- containers >=0.6.4 && <0.8
- hashable >=1.3.5.0 && <1.6 Show all…
Dependents (0)
hMPC is a Haskell package for secure multiparty computation (MPC).
hMPC provides a runtime for performing computations on secret-shared values, where parties interact by exchanging messages via peer-to-peer connections. The hMPC protocols are based on Shamir's threshold secret sharing scheme and withstand passive adversaries controlling less than half of the parties.
Secure integer arithmetic is supported for parameterized number ranges, including support for comparison operations. Secure finite field arithmetic is supported.
The above operations are all available via Haskell's operator overloading.
Secure drop-in replacements for lots of Haskell built-in functions, such as
all, sum, min, max are provided, mimicking the Haskell
APIs as much as possible. Further operations for container datatypes holding
secret-shared data items are provided as well (e.g., matrix-vector operations
like secure dot products).