Two-level Homorphic Encryption demo
library status
initializing...
Client
secretKey :
x
y
EncG1(x)
EncG2(y)
1. append
2. send to server
received ciphertext
0
6. decode ciphertext
0
Server
publicKey :
ciphertext
3. EncG1(xi) * EncG2(y)
4. sum Enc(xi * yi)
result
0
5. return to client