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 1 month ago
arith generalized-fhe: add GLWE encryption & decryption 1 month ago
bfv add Ring trait, adapt R & Rq to it; add TR (tuple_ring) 1 month ago
ckks ckks addition & substraction of ciphertexts 1 month ago
generalized-fhe generalized-fhe: add GLWE encryption & decryption 1 month ago
.gitignore init repo 1 month ago
Cargo.toml generalized-fhe: add GLWE encryption & decryption 1 month ago
LICENSE init repo 1 month ago
README.md generalized-fhe: add GLWE encryption & decryption 1 month ago
rust-analyzer.toml init repo 1 month ago
rust-toolchain.toml init repo 1 month ago
rustfmt.toml init repo 1 month 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