serengil / LightPHE

A Lightweight Partially Homomorphic Encryption Library for Python
https://bit.ly/46vWz9w
MIT License
53 stars 5 forks source link

print a warning message for tensor operations with items positive and negative #27

Open serengil opened 2 days ago

serengil commented 2 days ago

When we are performing homomorphic operations on encrypted tensors, we cannot know the result's sign if one item is positive and one item is negative. We should print a warning message in the encryption phase to warn users.