homenc / HElib

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
https://homenc.github.io/HElib
Other
3.11k stars 759 forks source link

Support for language bindings (Rust FFI, etc.) #502

Open ckrd-mark opened 9 months ago

ckrd-mark commented 9 months ago

Auto-generated FFI bindings greatly reduce the burden of keeping a 3rd party library up to date. I'm exploring creating a Rust crate that binds to HElib. It appears promising.

There are some utility functions that may assist creating a 'safer' Rust crate with low level access. Would such additions be in scope?

To have a fully safe Rust crate would appear (at this early stage) to require more intrusive changes. This will be known once I have several working examples. Alternatively, the risky interfaces could be made private. Would such changes be in scope?