
Pure Rust library for boolean and integer arithmetic on encrypted data with TFHE, plus C and WASM APIs.
TFHE-rs is Zama's open-source, pure Rust implementation of TFHE for boolean and integer arithmetic over encrypted data. Developers and researchers add it as a Cargo dependency and compute directly on ciphertexts, without decrypting, through a Rust API, C bindings to the high-level API, or a client-side JavaScript API compiled to WASM.
Per the README, it is a low-level cryptographic library implementing Zama's variant of TFHE, including programmable bootstrapping. It also provides the original TFHE boolean API as a drop-in replacement for other TFHE libraries, a short integer API for exact, unbounded FHE integer arithmetic with up to 8 bits of message space, size-efficient public key encryption, and ciphertext and server key compression for data transfer. The goal is a stable, simple, high-performance, production-ready library that gives full control over TFHE without handling the lowest-level details.
It is the library for teams that want to build their own FHE applications in Rust rather than use the higher-level blockchain protocol. TFHE-rs released its first stable version, v1.0.0, in February 2025, stabilizing the high-level API for the x86 CPU backend. Start from the documentation, the tutorials and the TFHE-rs handbook linked from the repository.
Key features
TFHE-rs is a Cryptography project. Pure Rust library for boolean and integer arithmetic on encrypted data with TFHE, plus C and WASM APIs.
TFHE-rs is built by Zama. The product is at the mainnet stage.
TFHE-rs is categorized under zama, fhe and rust on Dapping.
TFHE-rs has no builder reviews on Dapping yet, so it carries no rating. Reviews are written by individual builders, and moderated or removed reviews are excluded from the rating.
TFHE-rs is not currently marked verified on Dapping. Any token or contract details shown for TFHE-rs are inspection context only. Verification is an identity signal, not an audit, an endorsement, or investment advice. Check official links, contract addresses, permissions and audits independently before interacting.