lucifer2859/Paillier-LWE-based-PHE

I run LWE-based PHE cpu_test.py, why I get Encrypt Time: 32.736124 ms/op ?

Opened this issue · 3 comments

macbook pro 2018 2.7 GHz Intel Core i7

different from the paper 20000 gradients only need 164.4ms for encryption, 0.00718ms/op

I run cuda_test.py too, its fast. Using 1080ti,
Encrypt Time: 0.000238 ms/op
Add Time: 0.000002 ms/op
Decrypt Time: 0.000122 ms/op

I find the lwe-based encryption the paper cites. Are they wrong about the encryption time?
屏幕快照 2020-06-16 上午11 52 59

Hows it going, bro? Is it really wrong?