Two-level Homorphic Encryption demo
library status
initializing...
Client
secretKey :
x
y
EncG1(x)
EncG2(y)
1. append "x,y" and encrypt them (multiple times)
2. send to server
received ciphertext
0
6. decode ciphertext
0
Server
publicKey :
3. compute EncGT(x * y) := EncG1(x) * EncG2(y) for eacy row
4. sum of all values in EncGT(x * y) colomn
result
0
5. return to client