Home / Companies / Zama / Blog / Post Details
Content Deep Dive

Announcing TFHE-rs: a fast, pure Rust implementation of TFHE

Blog post from Zama

Post Details
Company
Date Published
Author
The Zama Team
Word Count
946
Language
English
Hacker News Points
-
Summary

TFHE-rs is a new Rust implementation of TFHE, designed for developers and researchers working with encrypted data to provide an enhanced, flexible framework for boolean and small integer arithmetic operations. It aims to serve as the reference implementation for TFHE, offering up-to-date security features and easy integration for application developers and compiler developers. The library includes powerful features like a low-level cryptographic library, a boolean API for chaining infinite boolean gates, and a short integer API for unbounded integer arithmetic with up to 8 bits of message space. TFHE-rs also supports public key encryption, ciphertext compression, and comes with a full Rust and C API, along with a client-side WASM API. Distinct from Zama's previous FHE products under the "Concrete" name, TFHE-rs provides full control over FHE circuit execution, while the refactored Concrete is now focused on compiler use for optimal circuit performance. Future updates will include APIs for large-integer and floating-point arithmetic, along with performance enhancements. The library is benchmarked as the fastest public implementation of TFHE, supporting AVX512 acceleration for efficient operations.