Homomorphic encryption and secure comparison | Synapse