mikeivanov / paillier

Pure Python Paillier Homomorphic Cryptosystem
GNU Lesser General Public License v3.0
131 stars 43 forks source link

Unresolved reference 'xrange' #7

Open FourDesigners opened 4 years ago

FourDesigners commented 4 years ago

There is a problem in the function "is_probably_prime" from primes.py How to solve it? Which one should I import? Thanks!

FourDesigners commented 4 years ago

Problem solved: just cast k to int and then use range instead of xrange