Welcome to TFHE-rs

TFHE-rs is a pure Rust implementation of TFHE for Boolean and integer arithmetics over encrypted data. It includes a Rust and C API, as well as a client-side WASM API.

Get started

Learn the basics of TFHE-rs, set it up, and make it run with ease.

Build with TFHE-rs

Start building with TFHE-rs by exploring its core features, discovering essential guides, and learning more with user-friendly tutorials.

Explore more

Access to additional resources and join the Zama community.

References & Explanations

Take a deep dive into TFHE-rs, exploring APIs from the highest to the lowest level of abstraction and accessing additional resources for in-depth explanations.

  • Rust API reference: High-level API that abstracts cryptographic complexities and simplifies the development and more

  • Fine-grained APIs: Mid-level APIs that enable evaluation of Boolean, short integer, and integer circuits

  • Core crypto API: Low-level API with the primitive functions and types of the TFHE scheme

  • TFHE deep dive: Resources that explain the Fully Homomorphic Encryption scheme - TFHE

Support channels

Ask technical questions and discuss with the community. Our team of experts usually answers within 24 hours during working days.


Collaborate with us to advance the FHE spaces and drive innovation together.

We value your feedback! Take a 5-question developer survey to improve the TFHE-rs library and the documentation and help other developers use FHE.

Last updated