@hackage lol-apps0.3.0.0
Lattice-based cryptographic applications using <https://hackage.haskell.org/package/lol lol>.
Categories
License
GPL-3.0-only
Maintainer
Eric Crockett <ecrockett@gmail.com>, Chad Sharp <cmlsharp@umich.edu>
Links
Versions
Installation
Dependencies (19)
- DRBG >=0.5.5 && <0.6
- MonadRandom >=0.5.1 && <0.6
- QuickCheck >=2.13.2 && <2.14
- base >=4.12.0 && <4.13
- constraints >=0.10 && <0.11
- containers >=0.6.0 && <0.7 Show all…
Dependents (1)
@hackage/lol-cpp
Package Flags
llvm
(off by default)
Compile via LLVM. This produces much better object code, but you need to have the LLVM compiler installed.
opt
(on by default)
Turn on library optimizations
Overview of applications:
-
SymmBGV.hs gives an implementation of a BGV-style, symmetric-key, somewhat-homomorphic encryption scheme that is essentially equivalent to the one from the Ring-LWE toolkit paper [LPR'13].
-
KeyHomomorphicPRF.hs gives an implementation of the key-homomorphic pseudorandom function from Banerjee and Peikert in Crypto 2014 [BP'14].
-
HomomPRF provides an interface for the homomorphic evaluation of the [BP'14] PRF.
An example using each application can be found in the 'examples' directory. Tests and benchmarks for SymmBGV and KeyHomomorphicPRF are provided in the 'tests' and 'benchmarks' directories. Tests and benchmarks for HomomPRF are included in the example for HomomPRF.