fhe-math

Core mathematical primitives for the fhe.rs ecosystem.
This crate exposes building blocks such as number theoretic transforms (NTT), residue number system (RNS) arithmetic, and ring arithmetic over Z_q that are used by higher level crates like fhe.
Features
ntt,rns,rq, andzqmodules for modular arithmetic over large rings.- Optional
tfhe-nttandtfhe-ntt-nightlyfeatures to enable hardware accelerated NTTs via thetfhe-nttcrate.
Installation
Add the following to your Cargo.toml:
[]
= "0.1.1"
Testing
License
This project is licensed under the MIT license.
Security / Stability
The code in this crate has not undergone an independent security audit. Use at your own risk.