Ask HN: Is there a solution for homomorphic encryption in Postgres?
I learned about homomorphic encryption a while ago. It looks like a great chance for SaaS companies because it significantly improves the security of its customers' sensitive data. I haven't found any existing postgres extensions or native postgres solutions supporting homomorphic encryption. Does anyone know of any projects being developed or already available? I only know about enquo (https://news.ycombinator.com/item?id=33386921), but its documentation is not clear, and I'm not sure if it uses homomorphic encryption.
4 comments
[ 2.8 ms ] story [ 22.8 ms ] threadFor your specific case of summing up values in a numeric column of a database, homomorphic encryption is indeed applicable. If you encrypt each value in the column using a homomorphic encryption scheme, you can then sum these encrypted values. The result of this operation will be an encrypted value that, when decrypted, will reveal the sum of the original plaintext values. ypes of Homomorphic Encryption
There are mainly three types of homomorphic encryption: