hMPC-0.1.0.0: hMPC.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack
name: hMPC
version: 0.1.0.0
synopsis: Multiparty Computation in Haskell
description: 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).
category: Cryptography
homepage: https://github.com/nickvgils/hMPC#readme
bug-reports: https://github.com/nickvgils/hMPC/issues
author: Nick van Gils
maintainer: nick.vangils@hotmail.com
copyright: 2024 Nick van Gils
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/nickvgils/hMPC
library
exposed-modules:
Shamir
FinFields
Runtime
SecTypes
Types
Asyncoro
Parser
Hgmp
other-modules:
MpcTools
Paths_hMPC
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
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
, 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
default-language: Haskell2010
executable id3gini
main-is: Id3gini.hs
other-modules:
Paths_hMPC
hs-source-dirs:
demos
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -main-is Id3gini -threaded -rtsopts -with-rtsopts=-N
build-depends:
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
, hMPC
, hashable >=1.3.5.0 && <1.5
, hgmp >=0.1.2 && <0.2
, 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
default-language: Haskell2010
test-suite test-hMPC
type: exitcode-stdio-1.0
main-is: TestMain.hs
other-modules:
RuntimeTest
ShamirTest
Paths_hMPC
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
HUnit >=1.6.2.0
, 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
, hMPC
, hashable >=1.3.5.0 && <1.5
, hgmp >=0.1.2 && <0.2
, 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
default-language: Haskell2010