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 760 forks source link

How to run a simple example #385

Closed Mykrobin closed 3 years ago

Mykrobin commented 3 years ago

I am just a new hand in this filed, I wan to run a simple example to see how the HE is worked.

I installed GMP(6.2.0) and NTL(version 11.4.3), but when I wanna run the examples, I confused.So, could you give me some help ^.^, thanks.

Mykrobin commented 3 years ago

I think I have found the examples in the example directory. I followed the install step in the install.MD, first, create a build directory under the HElib, make and install, then, go to the example directory, do the same thing, after the two steps, I found the Executable example, such as BGV_binary_arithmetic, am I right? (I wanna post a screenshot here, but the internet doesn't support that.)