https://123dok.net/document/z3dm0417-homomorphic-encryption-and-database-query-privacy.html