# tfhe/tfhe

TFHE: Fast Fully Homomorphic Encryption Library over the Torus

Repository: https://github.com/tfhe/tfhe
Canonical: https://ross.abutalabs.com/products/tfhe
Language: C++
License: NOASSERTION
License Family: other
Topics: homomorphic-encryption-library, cryptography, cloud-computing
Last push: 2025-09-17T09:04:36+00:00

## Health v2 (maintenance only)
Score: 42/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 42, release rhythm 8, longevity 100
- inputs: {"age_days": 3758, "days_push": 350, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1326, forks 185 (observed 2026-08-28T04:04:22.817100+00:00)

## What it is
TFHE is a C++ library implementing fast fully homomorphic encryption over the torus, based on the CGGI16 scheme with gate-by-gate bootstrapping. It evaluates binary gates on encrypted data at roughly 13ms per gate per core, achieving at least 110-bit security.

## Use cases
- evaluate boolean circuits on encrypted data without decryption
- build privacy-preserving cloud computation applications
- experiment with fully homomorphic encryption research
- perform homomorphic gate-by-gate bootstrapping
- compute on ciphertexts with no gate count restrictions

## When to choose
- you need fast bootstrapped homomorphic evaluation of binary gates in C/C++
- you want the original TFHE scheme with low-level control over circuits
- you need 110-bit security homomorphic encryption on Linux or macOS

## When to avoid
- you need a higher-level API or programmable bootstrapping - use TFHE-rs instead
- you need integer or string homomorphic operations rather than boolean gates
- you need Windows support or compilers other than g++/clang

## Facets
- artifact type: library
- maturity: maintenance
- function: cryptography, security
- domain: security, cloud-computing
- platform: cpp, c
- tags: homomorphic-encryption, fhe, bootstrapping, lattice-cryptography, torus, fft, privacy, algorithms, linux, macos

## Member repositories
- tfhe/tfhe (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.817100+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:46:24.714495+00:00, confidence not recorded.
  - readme: https://github.com/tfhe/tfhe (fetched 2026-08-28T04:04:22.817100+00:00, sha e43996f2d38e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
