Giter VIP home page Giter VIP logo

fhe.rs's Introduction

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.

Warning fhe.rs is a beta library, and should be considered unstable with potential breaking API changes until version 1.0.0 is released!

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

fhe.rs crates

fhe.rs is implemented using the Rust programming language. The ecosystem is composed of four 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-traits crate version fhe-traits: This crate contains traits for homomorphic encryption schemes;
  • 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.1.0-beta.4"
fhe-traits = "0.1.0-beta.4"

Minimum supported version / toolchain

Rust 1.64 or newer.

⚠️ Security / Stability

The implementations contained in the fhe.rs ecosystem have never been independently audited for security. Additionally, no promise on the API and ABI stability will be made until version 1.0.0 of the crates.

Use at your own risk.

fhe.rs's People

Contributors

dependabot[bot] avatar jonathanzhao02 avatar tlepoint avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.