Skip to content
Projetos

Sobre

Fully Homomorphic Encryption library in Rust

Segurança e privacidade

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+1
em 7 dias
+1
em 15 dias
+1
em 1 mês
Atualização atrasada

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

fhe.rs: Fully Homomorphic Encryption in Rust

continuous integration License: MIT Code coverage

This repository contains the fhe.rs library, an experimental cryptographic library in Rust for Ring-LWE-based homomorphic encryption, developed by Tancrède Lepoint. For more information about the library, see fhe.rs.

The library features:

  • An implementation of a RNS-variant of the Brakerski-Fan-Vercauteren (BFV) homomorphic encryption scheme;
  • Performances comparable or better than state-of-the-art libraries in C++ and Go.

Note This library is not related to the tfhe-rs library (a.k.a. concrete), Zama's fully homomorphic encryption in Rust, available at tfhe.rs.

fhe.rs crates

fhe.rs is implemented using the Rust programming language. The ecosystem is composed of three public crates (packages):

  • fhe crate version fhe: This crate contains the implementations of the homomorphic encryption schemes;
  • fhe-math crate version fhe-math: This crate contains the core mathematical operations for the fhe crate;
  • fhe-util crate version fhe-util: This crate contains utility functions for the fhe crate.

Installation

To install, add the following to your project's Cargo.toml file:

[dependencies]
fhe = "0.2.0"

Minimum supported version / toolchain

Rust 1.91.1 or newer (Rust 2024 edition).

⚠️ Security / Stability

The implementations contained in the fhe.rs ecosystem have never been independently audited for security.

Use at your own risk.

Explore projetos relacionados

Carregando…