hMPC: Multiparty Computation in Haskell

[ bsd3, cryptography, library, program ] [ Propose Tags ] [ Report a vulnerability ]

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).

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2 (info)
Change log CHANGELOG.md
Dependencies 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), hgmp (>=0.1.2 && <0.2), hMPC, hslogger (>=1.3.1 && <1.4), lens (>=5.0.1 && <5.4), mtl (>=2.2.2 && <2.4), network (>=3.1.2.7 && <3.3), optparse-applicative (>=0.16.1.0 && <0.19), process (>=1.6.13 && <1.7), random (>=1.2.1 && <1.3), split (>=0.2.3.4 && <0.3), stm (>=2.5.0 && <2.6), time (>=1.9.3 && <1.15), vector (>=0.12.3.1 && <0.14) [details]
License BSD-3-Clause
Copyright 2024 Nick van Gils
Author Nick van Gils
Maintainer nick.vangils@hotmail.com
Category Cryptography
Home page https://github.com/nickvgils/hMPC#readme
Bug tracker https://github.com/nickvgils/hMPC/issues
Source repo head: git clone https://github.com/nickvgils/hMPC
Uploaded by nickvgils at 2024-07-19T11:20:54Z
Distributions NixOS:0.1.0.2
Executables id3gini
Downloads 84 total (3 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-07-19 [all 1 reports]