Re: [viff-devel] Homomorphic encryption

2009-07-10 Thread Janus Dam Nielsen
Hi Marc, Thank you for your email. I will have a look at the code, when I get back from vacation two weeks from now. On 10/07/2009, at 10.18, Marc Makkes wrote: Hi Janus, I think that I'd have reached the stage where you can test my code, but still lacks some basic checks and is

Re: [viff-devel] Homomorphic encryption

2009-07-10 Thread Claudio Orlandi
Hi Marc, Let me see if I understood the way you measured: it takes 496 msec on average to do an encryption with your code, right? Claudio On Fri, Jul 10, 2009 at 10:18 AM, Marc Makkesmmak...@science.uva.nl wrote: Hi Janus, I think that I'd have reached the stage where you can test my code,

Re: [viff-devel] Homomorphic encryption

2009-07-10 Thread Marc X. Makkes
Hi Claudio, Yes, It takes 496 msec on my machine. For timing i used the following: python -m timeit -s 'from pypaillier import generate_keys, encrypt' \ -s 'pk, sk = generate_keys(2048)' \ -s 'm = 98723498' \ 'encrypt(m, pk)' python -m