intel / pailliercryptolib_python

Intel Paillier Cryptosystem Library is an open-source library which provides accelerated performance of a partial homomorphic encryption (HE), named Paillier cryptosystem, by utilizing Intel® IPP-Crypto technologies on Intel CPUs supporting the AVX512IFMA instructions. The library is written in modern standard C++ and provides the essential API for the Paillier cryptosystem scheme. Intel Paillier Cryptosystem Library - Python is a Python extension package intended for Python based privacy preserving machine learning solutions which utilizes the partial HE scheme for increased data and model protection.
Apache License 2.0
56 stars 12 forks source link

Fix issue (#29) by enabling precision when encrypting #32

Closed fangxiaoran closed 1 year ago

fangxiaoran commented 1 year ago

Default precision leads to loss of accuracy sometimes. Enable setting precision (scale factor) manually.

Fix https://github.com/intel/pailliercryptolib_python/issues/29.