|
|
4 months ago | |
|---|---|---|
| arith | 4 months ago | |
| bfv | 4 months ago | |
| ckks | 4 months ago | |
| generalized-fhe | 4 months ago | |
| .gitignore | 4 months ago | |
| Cargo.toml | 4 months ago | |
| LICENSE | 4 months ago | |
| README.md | 4 months ago | |
| rust-analyzer.toml | 4 months ago | |
| rust-toolchain.toml | 4 months ago | |
| rustfmt.toml | 4 months ago | |
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^N+1)$ and $R=\mathbb{Z}/(X^N+1)$ arithmetic implementations, together with the NTT implementation.generalized-fhe: contains the structs and logic for RLWE, GLWE, GLev, GGSW, RGSW cryptosystems, 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 implementationcargo test --release