← Back

Homomorphic Encryption

Perform computations on encrypted data without decrypting

📝
Plaintext A
Your data
🔐
Encrypt
☁️
Compute
On ciphertext!
🔓
Decrypt
Result
Same as plaintext!

Additive Homomorphic Demo (Paillier-style)

E(a) × E(b) = E(a + b) — multiplying ciphertexts adds plaintexts!

-
-
12
-
Decrypted Result:
-
1

Generate Keys

Public key for encryption, private for decryption

2

Encrypt Data

Client encrypts with public key

3

Compute

Server operates on ciphertext

4

Decrypt Result

Client decrypts final answer

🏥

Medical Analytics

Process patient data without exposing sensitive health information

💰

Financial Services

Credit scoring and fraud detection on encrypted transactions

🗳️

Secure Voting

Tally votes without revealing individual ballots

Types of Homomorphic Encryption

Partially Homomorphic: Supports one operation (either add OR multiply). Examples: RSA (multiply), Paillier (add).

Somewhat Homomorphic: Limited number of both operations before noise grows too large.

Fully Homomorphic (FHE): Unlimited operations of any type. First practical scheme: Gentry (2009).

Trade-off: HE is 1000x-1000000x slower than unencrypted computation. Active research is improving performance.