arnaucube
arnaucube/fhe-studyPublic Self-hosted repository
fhe-study/README.md
README.mdRaw
 1# fhe-study
 2Implementations from scratch done while studying some FHE papers; do not use in production.
 3
 4- `arith`: contains $\mathbb{Z}_q$, $R_q=\mathbb{Z}_q[X]/(X^N+1)$, $R=\mathbb{Z}[X]/(X^N+1)$, $\mathbb{T}_{Q}[X]/(X^N +1)$ arithmetic implementations, together with the NTT implementation.
 5- `gfhe`: (gfhe=generalized-fhe) contains the structs and logic for RLWE, GLWE, GLev, GGSW, RGSW cryptosystems, and modulus switching and key switching methods, which can be used by concrete FHE schemes.
 6- `bfv`: https://eprint.iacr.org/2012/144.pdf scheme implementation
 7- `ckks`: https://eprint.iacr.org/2016/421.pdf scheme implementation
 8- `tfhe`: https://eprint.iacr.org/2018/421.pdf scheme implementation
 9
10`cargo test --release`