by CiPHPerCoder · 8y ago · 0 comments
You want authenticated encryption instead. https://tonyarcieri.com/all-the-crypto-code-youve-ever-writt...
You can sort of build something authenticated on top of a homomorphic cryptosystem, but it's kind of a hack: https://paragonie.com/blog/2017/12/assuring-ciphertext-integ...