mirror of
https://github.com/arnaucube/fhe-study.git
synced 2026-01-24 04:33:52 +01:00
fd5c4124ea918bfcb6a1c619f5b42b0f9a110c4f
fhe-study
Implementations from scratch done while studying some FHE papers; do not use in production.
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.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.bfv: https://eprint.iacr.org/2012/144.pdf scheme implementationckks: https://eprint.iacr.org/2016/421.pdf scheme implementationtfhe: https://eprint.iacr.org/2018/421.pdf scheme implementation
cargo test --release
Languages
Rust
99.3%
Sage
0.7%