lol-apps: Lattice-based cryptographic applications using <https://hackage.haskell.org/package/lol lol>.

[ crypto, gpl, library ] [ Propose Tags ] [ Report a vulnerability ]

This library contains example cryptographic applications built using Lol, a general-purpose library for ring-based lattice cryptography.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
llvm

Compile via LLVM. This produces much better object code, but you need to have the LLVM compiler installed.

Disabled
opt

Turn on library optimizations

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.1, 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.3.0.0 (info)
Change log CHANGES.md
Dependencies base (>=4.12.0 && <4.13), constraints (>=0.10 && <0.11), containers (>=0.6.0 && <0.7), crypto-api (>=0.13.3 && <0.14), deepseq (>=1.4.4 && <1.5), DRBG (>=0.5.5 && <0.6), filepath (>=1.4.2 && <1.5), lol (>=0.7.0.0 && <0.8), MonadRandom (>=0.5.1 && <0.6), mtl (>=2.2.2 && <2.3), numeric-prelude (>=0.4.3 && <0.5), options (>=1.2.1 && <1.3), protocol-buffers (>=2.4.13 && <2.5), protocol-buffers-descriptor (>=2.4.13 && <2.5), QuickCheck (>=2.13.2 && <2.14), singletons (>=2.5.1 && <2.6), split (>=0.2.3 && <0.3), test-framework (>=0.8.2 && <0.9), time (>=1.8.0 && <1.9) [details]
License GPL-3.0-only
Copyright Eric Crockett, Chris Peikert
Author Eric Crockett <ecrockett0@gmail.com>, Chris Peikert <cpeikert@alum.mit.edu>
Maintainer Eric Crockett <ecrockett@gmail.com>, Chad Sharp <cmlsharp@umich.edu>
Category Crypto
Home page https://github.com/cpeikert/lol#readme
Bug tracker https://github.com/cpeikert/lol/issues
Source repo head: git clone https://github.com/cpeikert/lol
Uploaded by crossroads1112 at 2020-02-19T19:47:35Z
Distributions
Downloads 4700 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-02-19 [all 1 reports]

Readme for lol-apps-0.3.0.0

[back to package description]
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.