add BFV newkey, encrypt, decrypt, and homomorphic addition impl

This commit is contained in:
2025-06-21 22:13:11 +02:00
parent 2a82a98285
commit 9a7fcb08d0
5 changed files with 181 additions and 7 deletions

11
bfv/Cargo.toml Normal file
View File

@@ -0,0 +1,11 @@
[package]
name = "bfv"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = { workspace = true }
rand = { workspace = true }
rand_distr = { workspace = true }
arithmetic = { path="../arithmetic" }