Skip to content

Files

Latest commit

 

History

History

tfhe

description layout
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.
title description tableOfContents outline pagination
visible
true
visible
true
visible
true
visible
true
visible

Welcome to TFHE-rs

Get started

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

What is TFHE-rs?Understand TFHE-rs library and basic cryptographic conceptsgetting_startedstart1.png
InstallationFollow the step by step guide to import TFHE-rs in your projectinstallation.mdstart2.png
Quick startSee a full example of using TFHE-rs to compute on encrypted dataquick_start.mdstart3.png

Build with TFHE-rs

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

FHE ComputationsRun FHE computation on encrypted data.build1.png
ConfigurationAdvanced configuration for better performance.build2.png
IntegrationUse TFHE-rs in different contexts or platforms..build3.png

Explore more

Access to additional resources and join the Zama community.

Tutorials

Explore step-by-step guides that walk you through real-world uses of TFHE-rs.

  • Homomorphic parity bit: Learn how to implement a parity bit calculation over encrypted data
  • Homomorphic case changing on ASCII string: See how to process string data securely by changing cases while keeping the data encrypted.
  • SHA256 with Boolean API: Delve into a more complex example: implementing the SHA256 hash function entirely on encrypted boolean values.
  • All tutorials: A complete list of all available tutorials in one place.tutorials: A complete list of all available tutorials in one place.

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.

Developers

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


{% hint style="success" %} Zama 5-Question Developer Survey

We want to hear from you! Take 1 minute to share your thoughts and helping us enhance our documentation and libraries. 👉 Click here to participate. {% endhint %}