TechFlow Logo
Login/ Sign up
ETH Gas
Gwei
Fear
gas
When Cows Meet Cryptography: 4 Analogies Explaining ZK, FHE, MPC, and TEE

When Cows Meet Cryptography: 4 Analogies Explaining ZK, FHE, MPC, and TEE

2024.08.29
Share
FHE is like being able to produce milk without knowing whether there are two cows.

Author: NEBRA in Proof Summer

Translation: TechFlow

1. ZK

You have some milk.

You can prove this milk came from two cows, but you don't know exactly which two cows, nor how they produced the milk.

2. FHE (Fully Homomorphic Encryption)

You have a milking machine.

You can produce milk without knowing whether there are two cows at all.

3. MPC (Multi-Party Computation)

You and your neighbor jointly own two cows.

You each can milk the cows, but neither knows exactly which part of the cow you're milking.

4. TEE (Trusted Execution Environment)

You have two cows.

You keep them in a secure barn that no one else can enter.

The cows can only be milked inside the barn.