# tuneinsight/lattigo

A library for lattice-based multiparty homomorphic encryption in Go

Repository: https://github.com/tuneinsight/lattigo
Canonical: https://ross.abutalabs.com/products/lattigo
Language: Go
License: Apache-2.0
License Family: permissive
Topics: lattice-based-crypto, secure-multi-party-computation, homomorphic-encryption
Last push: 2026-06-16T13:01:24+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 36, longevity 100
- inputs: {"age_days": 2578, "days_push": 78, "days_rel": 212, "gap_med": 237.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1440, forks 215 (observed 2026-08-28T04:04:44.174588+00:00)

## What it is
Lattigo is a pure Go library implementing lattice-based (RLWE) homomorphic encryption schemes such as BFV/BGV and CKKS, along with their multiparty variants. It enables computation on encrypted data in distributed systems and microservices, with WASM support for browser clients.

## Use cases
- perform computations on encrypted data without decrypting it
- implement secure multiparty computation protocols in Go
- encrypt numeric data with CKKS for privacy-preserving machine learning inference
- build privacy-preserving distributed systems and microservices
- run homomorphic encryption in the browser via WASM
- generate RLWE keys and ciphertexts for lattice-based cryptography research

## When to choose
- your stack is Go and you need homomorphic encryption
- you need multiparty (threshold) homomorphic encryption
- you need cross-platform or WASM builds of HE primitives
- you want performance comparable to C++ HE libraries without cgo

## When to avoid
- you need a non-Go language binding or C++ ecosystem tooling
- you need fully homomorphic encryption with bootstrapping beyond the supported schemes
- you need general-purpose secure computation beyond RLWE-based HE
- your project requires FHE schemes like TFHE with programmable bootstrapping

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security, math, sdk
- domain: security, privacy, developer-tools
- platform: go, cross-platform, wasm, windows
- tags: homomorphic-encryption, lattice-based-crypto, rlwe, ckks, bfv, bgv, secure-multi-party-computation, pure-go, algorithms, linux, macos

## Member repositories
- tuneinsight/lattigo (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:44.174588+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:33.226486+00:00, confidence not recorded.
  - readme: https://github.com/tuneinsight/lattigo (fetched 2026-08-28T04:04:44.174588+00:00, sha d418c1e41b6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
