You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
arnaucube 2998f1761c generalized-fhe: add GLWE encryption & decryption 3 months ago
arith generalized-fhe: add GLWE encryption & decryption 3 months ago
bfv add Ring trait, adapt R & Rq to it; add TR (tuple_ring) 3 months ago
ckks ckks addition & substraction of ciphertexts 3 months ago
generalized-fhe generalized-fhe: add GLWE encryption & decryption 3 months ago
.gitignore init repo 3 months ago
Cargo.toml generalized-fhe: add GLWE encryption & decryption 3 months ago
LICENSE init repo 3 months ago
README.md generalized-fhe: add GLWE encryption & decryption 3 months ago
rust-analyzer.toml init repo 3 months ago
rust-toolchain.toml init repo 3 months ago
rustfmt.toml init repo 3 months ago

README.md

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^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 implementation
  • ckks: https://eprint.iacr.org/2016/421.pdf scheme implementation