“Homomorphic” comes from Greek words meaning “same structure.” In mathematics, a group homomorphism is a map between groups that preserves the group operation; in homomorphic encryption, the relevant property is that operations on ciphertext correspond to operations on the underlying plaintext.[1]
A data owner can send encrypted data to a server, which computes on the ciphertext and returns an encrypted result for the owner to decrypt locally. Unlike conventional encrypted-data processing, this approach does not require the server to decrypt the data before analyzing or processing it.[2]
Schemes differ in which operations they support and how many operations can be applied. Partially homomorphic encryption (PHE) supports either addition or multiplication, but not both, and permits the supported operation to be repeated without a limit. Somewhat homomorphic encryption (SHE) supports both addition and multiplication, but only for a bounded number of operations. As operations accumulate, accuracy may deteriorate.[1][2]
Leveled fully homomorphic encryption permits an arbitrary number of computations when their sequence is specified in advance. Fully homomorphic encryption (FHE) permits an unlimited number of computations without requiring a predefined sequence, including computations that could be performed on plaintext.
These capabilities can support more complex tasks than PHE or SHE, but FHE’s computational expense can make applications impractical.[2]
RSA illustrates partial homomorphism for multiplication. In the described scheme, a message (m) is encrypted as (C = m^e \bmod n), where (e) is a public encryption exponent and (n) is the product of two suitably chosen large prime numbers. Multiplying ciphertexts for messages (m_1) and (m_2) produces the encryption of their product:
[
(m_1^e \bmod n)(m_2^e \bmod n) = ((m_1m_2)^e \bmod n).
]
Thus, multiplying the ciphertexts corresponds to multiplying the plaintext messages and encrypting the result.[1]