hMPC: Multiparty Computation in Haskell
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).
[Skip to Readme]
Downloads
- hMPC-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
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.11), cereal (>=0.5.8 && <0.6), containers (>=0.6.4 && <0.7), hashable (>=1.3.5.0 && <1.5), hgmp (>=0.1.2 && <0.2), hMPC, hslogger (>=1.3.1 && <1.4), lens (>=5.0.1 && <5.3), mtl (>=2.2.2 && <2.3), network (>=3.1.2.7 && <3.2), 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.10), 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 |
Revised | Revision 2 made by nickvgils at 2024-07-17T14:05:26Z |
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-17T11:56:06Z |
Distributions | NixOS:0.1.0.2 |
Executables | id3gini |
Downloads | 81 total (12 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2024-07-17 [all 2 reports] |