# Welcome to TFHE-rs

## Get started

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

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>What is TFHE-rs?</strong></td><td>Understand TFHE-rs library and basic cryptographic concepts</td><td><a href="get-started/getting_started">getting_started</a></td><td><a href="https://793649425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugVAF1AO0O8NzyL4YmMz%2Fuploads%2Fgit-blob-ef8d6303f852601e203cdfd9fa6bbdd4a47d8c96%2Fstart1.png?alt=media">start1.png</a></td></tr><tr><td><strong>Installation</strong></td><td>Follow the step by step guide to import TFHE-rs in your project</td><td><a href="get-started/installation">installation</a></td><td><a href="https://793649425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugVAF1AO0O8NzyL4YmMz%2Fuploads%2Fgit-blob-794ee2f6e7160affe67c2b1aca1caae1559c9537%2Fstart2.png?alt=media">start2.png</a></td></tr><tr><td><strong>Quick start</strong></td><td>See a full example of using TFHE-rs to compute on encrypted data</td><td><a href="get-started/quick_start">quick_start</a></td><td><a href="https://793649425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugVAF1AO0O8NzyL4YmMz%2Fuploads%2Fgit-blob-84e7b26136ae0010e6a313fb6432333cbc23d281%2Fstart3.png?alt=media">start3.png</a></td></tr></tbody></table>

## Build with TFHE-rs

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

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>FHE Computations</strong></td><td>Run FHE computation on encrypted data.</td><td><ul><li><a href="fhe-computation/types">Types</a></li><li><a href="fhe-computation/operations">Operations</a></li></ul></td><td><a href="https://793649425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugVAF1AO0O8NzyL4YmMz%2Fuploads%2Fgit-blob-db74dbcb555ece9e55db2fb1f46865afda731ccf%2Fbuild1.png?alt=media">build1.png</a></td></tr><tr><td><strong>Configuration</strong></td><td>Advanced configuration for better performance.</td><td><ul><li><a href="configuration/rust_configuration">Advanced Rust</a></li><li><a href="configuration/run_on_gpu">GPU acceleration</a></li><li><a href="configuration/run_on_hpu">HPU acceleration</a></li></ul></td><td><a href="https://793649425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugVAF1AO0O8NzyL4YmMz%2Fuploads%2Fgit-blob-b73fb94c4da0baf0663f79c74e67fc243cb2ed18%2Fbuild2.png?alt=media">build2.png</a></td></tr><tr><td><strong>Integration</strong></td><td>Use TFHE-rs in different contexts or platforms..</td><td><ul><li><a href="integration/c_api">C API</a></li><li><a href="integration/js_on_wasm_api">JS on WASM API</a></li></ul></td><td><a href="https://793649425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FugVAF1AO0O8NzyL4YmMz%2Fuploads%2Fgit-blob-07fea976044a7544d615347d2511116027127eba%2Fbuild3.png?alt=media">build3.png</a></td></tr></tbody></table>

## 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](https://docs.zama.org/tfhe-rs/1.2/tutorials/parity_bit): Learn how to implement a parity bit calculation over encrypted data
* [Homomorphic case changing on ASCII string](https://docs.zama.org/tfhe-rs/1.2/tutorials/ascii_fhe_string): See how to process string data securely by changing cases while keeping the data encrypted.
* [SHA256 with Boolean API](https://docs.zama.org/tfhe-rs/1.2/tutorials/sha256_bool): Delve into a more complex example: implementing the SHA256 hash function entirely on encrypted boolean values.
* [All tutorials](https://docs.zama.org/tfhe-rs/1.2/tutorials/see-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](https://docs.rs/tfhe/latest/tfhe/): High-level API that abstracts cryptographic complexities and simplifies the development and more
* [Fine-grained APIs](https://docs.zama.org/tfhe-rs/1.2/references/fine-grained-apis): Mid-level APIs that enable evaluation of Boolean, short integer, and integer circuits
* [Core crypto API](https://docs.zama.org/tfhe-rs/1.2/references/core-crypto-api): Low-level API with the primitive functions and types of the TFHE scheme
* [TFHE deep dive](https://docs.zama.org/tfhe-rs/1.2/explanations/tfhe-deep-dive): Resources that explain the Fully Homomorphic Encryption scheme - TFHE
* [TFHE-rs handbook](https://github.com/zama-ai/tfhe-rs-handbook): Document describing algorithms implemented in TFHE-rs

### Support channels

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

* [Community forum](https://community.zama.ai/)
* [Discord channel](https://discord.com/invite/zama)

### Developers

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

* [Contribute to TFHE-rs](https://docs.zama.org/tfhe-rs/1.2/developers/contributing)
* [Check the latest release note](https://github.com/zama-ai/tfhe-rs/releases)
* [Request a feature](https://github.com/zama-ai/tfhe-rs/issues/new?assignees=\&labels=feature_request\&projects=\&template=feature_request.md\&title=)
* [Report a bug](https://github.com/zama-ai/tfhe-rs/issues/new?assignees=\&labels=triage_required\&projects=\&template=bug_report.md\&title=)

***

{% 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**](https://www.zama.ai/developer-survey) to participate.
{% endhint %}
