
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
github.com/ldsec/lattigo/v2
Lattigo is a Go module that implements Ring-Learning-With-Errors-based homomorphic-encryption primitives and Multiparty-Homomorphic-Encryption-based secure protocols. The library features:
Lattigo is meant to support HE in distributed systems and microservices architectures, for which Go is a common choice thanks to its natural concurrency model and portability.
The library exposes the following packages:
lattigo/ring
: Modular arithmetic operations for polynomials in the RNS basis, including: RNS basis extension; RNS rescaling; number theoretic transform (NTT); uniform, Gaussian and ternary sampling.
lattigo/bfv
: The Full-RNS variant of the Brakerski-Fan-Vercauteren scale-invariant homomorphic encryption scheme. It provides modular arithmetic over the integers.
lattigo/ckks
: The Full-RNS Homomorphic Encryption for Arithmetic for Approximate Numbers (HEAAN, a.k.a. CKKS) scheme. It provides approximate arithmetic over the complex numbers (in its classic variant) and over the real numbers (in its conjugate-invariant variant).
lattigo/dbfv
and lattigo/dckks
: Multiparty (a.k.a. distributed or threshold) versions of the BFV and CKKS schemes that enable secure multiparty computation solutions with secret-shared secret keys.
lattigo/rlwe
and lattigo/drlwe
: common base for generic RLWE-based multiparty homomorphic encryption. It is imported by the lattigo/bfv
and lattigo/ckks
packages.
lattigo/examples
: Executable Go programs that demonstrate the use of the Lattigo library.
Each subpackage includes test files that further demonstrate the use of Lattigo primitives.
lattigo/utils
: Supporting structures and functions.
This version of Lattigo, (v2.x.x) is meant to be a working prototype. Hence, there will be backward-incompatible changes within this version.
See CHANGELOG.md for the current and past versions.
This library is still at an experimental stage and should be used for research purposes only.
Lattigo is licensed under the Apache 2.0 License. See LICENSE.
If you want to contribute to Lattigo or you have any suggestion, do not hesitate to contact us at lattigo@listes.epfl.ch.
Please use the following BibTex entry for citing Lattigo:
@misc{lattigo,
title = {Lattigo v2.4.0},
howpublished = {Online: \url{https://github.com/ldsec/lattigo}},
month = Jan,
year = 2022,
note = {EPFL-LDS}
}
The Lattigo logo is a lattice-based version of the original Golang mascot by Renee French.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.