MyGit

cpeikert/Lol

Fork: 45 Star: 224 (更新于 2024-11-01 03:59:12)

license: 暂无

Language: Haskell .

Λ ⚬ λ: Functional Lattice Cryptography

GitHub网址

Build Status

This branch is master. It should always be compiling!


This repository contains several Haskell libraries:

  • The lol directory contains the Haskell library Λ ⚬ λ (Lol), described in the paper Λ ⚬ λ: Functional Lattice Cryptography. More documentation can be found on Hackage. This is the core of the project, and you'll need to install it to use anything else.

  • The lol-apps directory contains example cryptographic applications built using Lol. If you are interested in using our example applications, you will need this library. It is on Hackage here. If you are just writing your own applications, you don't need to install this library.

  • The lol-cpp directory contains a C++ backend "tensor" implementation.

Developing in the Lol ecosystem:

Compiling the Lol packages takes a long time. If you are just doing development, you probably don't need to compile (with optimizations) the whole ecosystem. Instead, you can develop interactively. Run

> stack build lol lol-cpp lol-apps lol-tests lol-benches --dependencies-only

to build all third-party dependencies of the Lol ecosystem, then you can develop with

> ./ghci path/to/file

This command builds the C++ library for lol-cpp and loads all imported files from the Lol ecosystem from source.

You can load all top-level executables with ./ghci AllMain.hs.

Installing Lol:

If you want to run benchmarks or tests, you'll need to compile the ecosystem with optimizations. The easiest way to do this is to use stack, which is included in the Haskell Platform.

> stack setup
> stack build lol

or

> stack setup
> stack install lol-apps

You can run unit tests with stack test <package>. You can run microbenchmarks with stack bench <package>. Currently lol-cpp and lol-apps have tests and benchmarks.

The lol-apps package includes examples of how to use each application. These are built automatically when you install lol-apps.

最近版本更新:(数据更新于 1970-01-01 00:00:00)

主题(topics):

cryptography, fully-homomorphic-encryption, haskell-library, lattices, lol, ring-lwe

cpeikert/Lol同语言 Haskell最近更新仓库

2024-08-22 12:09:58 ivanperez-keera/dunai

2024-05-25 09:59:31 reflex-frp/reflex-vty

2023-11-11 06:13:10 clash-lang/clash-compiler

2022-08-13 21:55:30 HeinrichApfelmus/reactive-banana

2016-10-03 14:00:16 z0w0/helm

1970-01-01 00:00:00 gelisam/frp-zoo