Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
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
Install Dependencies
- CMake >= 3.5.1
- Clang >= 12.0 or GCC >= 11.4
- Rust >= 1.78
- Git
Unix
On Debian systems, everything can be installed with the following command:
Installation process
-
Build and install OpenFHE library. Right now you need to use the Fair Math fork. It contains the required features, which will be included in the next planned release (v1.1.5):
- Clone the repository
- Configure CMake
- Build and install the C++ OpenFHE library
- Configure your dynamic linker
-
Make sure you have rustc with
cargoinstalled first. -
Clone the Fair Math openfhe-rs repo to your local machine and build:
- Clone the repository
- Build the library
- Run tests
- Run the examples