# zama-ai/tfhe-rs

TFHE-rs: A Pure Rust implementation of the TFHE Scheme for Boolean and Integer Arithmetics Over Encrypted Data.

Repository: https://github.com/zama-ai/tfhe-rs
Canonical: https://ross.abutalabs.com/products/tfhe-rs
Language: Rust
License: NOASSERTION
License Family: other
Topics: cryptography, homomorphic-encryption, rust, tfhe
Last push: 2026-08-26T19:39:41+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 94, longevity 100
- inputs: {"age_days": 1420, "days_push": 7, "days_rel": 43, "gap_med": 7, "n_releases_24m": 46}
- 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 1646, forks 333 (observed 2026-08-28T04:05:16.341356+00:00)

## What it is
TFHE-rs is a pure Rust implementation of the TFHE fully homomorphic encryption scheme, enabling boolean and integer arithmetic over encrypted data. It provides a Rust API, C bindings, and a client-side WASM/JavaScript API, with features like programmable bootstrapping and ciphertext compression.

## Use cases
- compute on encrypted data without decrypting it
- perform boolean logic on encrypted bits
- do arithmetic on encrypted integers up to 8 bits
- build privacy-preserving applications with FHE in Rust
- use homomorphic encryption from C or JavaScript via WASM
- research and experiment with TFHE programmable bootstrapping

## When to choose
- you need fully homomorphic encryption for boolean or short integer computation
- you want a high-performance, production-oriented FHE library in Rust
- you need client-side encryption with a WASM/JavaScript API
- you want ciphertext and server key compression for efficient transfer

## When to avoid
- you need general-purpose FHE over arbitrary data types or machine learning workloads (consider other Zama libraries like Concrete or Concrete-ML)
- you need fast computation - FHE has large performance overheads compared to plaintext
- you need a lightweight encryption scheme without homomorphic properties

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security, sdk
- domain: security, privacy, developer-tools
- platform: rust, cpp, c, wasm, cross-platform
- tags: homomorphic-encryption, fhe, tfhe, encrypted-computation, boolean-arithmetics, integer-arithmetics, cryptography

## Member repositories
- zama-ai/tfhe-rs (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.341356+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-30T03:45:24.377566+00:00, confidence not recorded.
  - readme: https://github.com/zama-ai/tfhe-rs (fetched 2026-08-28T04:05:16.341356+00:00, sha 674415041727)
  - registry_crates: https://crates.io/api/v1/crates/tfhe-rs (fetched 2026-08-29T11:18:42.983034+00:00, sha 0dba8aa99a7b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
