Questions & Support for floating points
mmRoshani opened this issue · 1 comments
mmRoshani commented
Hello,
First of all thanks for the clean architecture provided code.
Currently, I am working with Distributed Federated Learning and it is required for my project to have Multikey Homomorphic Encryption but as I searched I found your repository and I have two questions.
- Does it make sense to use
dpaillier
for my problem? - How is it possible to add support for floating point numbers (like CKKS schema), Would you guide me to do so?
Regards.
grebnetiew commented
Hi!
- This depends on what exactly your constraints are, and what you mean by the "multi-key" aspect.
dpaillier
allows you to have one public key (anybody can encrypt) but a threshold private key (cooperation between mutliple parties is required to decrypt). - There is no floating point support, only manually implemented fixed-point (i.e. multiply summands by 100, divide results by 100). There aren't any current plans to support floating point computation, but pull requests are of course welcomed ;)