A fork of https://github.com/fairmath/openfhe-rs to add some missing functionality

nkaskov aaaaae53dd Simple real numbers example added. 1 year ago
examples aaaaae53dd Simple real numbers example added. 1 year ago
src d6a6aa9563 Polynomial evaluation example added. 1 year ago
.gitignore 71fed67612 Adding serialization/deserialization 1 year ago
Cargo.toml 2229ad558d Cargo.toml and README slightly updated. Pre-publishing renaming done. 1 year ago
LICENSE ef23ff8346 Repository inited. 1 year ago
README.md 2229ad558d Cargo.toml and README slightly updated. Pre-publishing renaming done. 1 year ago
build.rs 2229ad558d Cargo.toml and README slightly updated. Pre-publishing renaming done. 1 year ago

README.md

About OpenFHE-rs

☀️ OpenFHE-rs is a joint project by FairMath & OpenFHE


OpenFHE-rs is a Rust interface for the OpenFHE library. OpenFHE is known for its wide range of Fully Homomorphic Encryption (FHE) schemes, all implemented in C++. We're bringing this capability to Rust developers.

By offering a Rust wrapper for OpenFHE, we make it easier for Rust devs to use advanced FHE schemes in their projects. Whether you're building secure data processing apps or privacy-focused tools, OpenFHE-rs helps you do that with the power of OpenFHE's encryption technology.

Current status

The library is under development and the ETA of the first version is set to Q2 2024.

Installation from source

  1. Build and install OpenFHE library using the official docs:
    1. Build OpenFHE as shared libraries;
    2. Don't specify an installation path (If no installation path is provided in Ubuntu (and many other Unix-based OSes), the header and library binary files will be placed in /usr/local/include/openfhe and /usr/local/lib, respectively);
  2. Make sure that build.rs file has the correct paths to shared libraries(OpenFHE) and libgomp(GNU Offloading and Multi Processing Runtime Library);
  3. run cargo build