mikeivanov / paillier

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

minor modifications to primality testing #4

Closed mynameisvinn closed 6 years ago

mynameisvinn commented 8 years ago

@mikeivanov thanks for the awesome implementation. ive made some minor changes to is_probably_prime - the most notable is endpoints used for test range, with respect to rabin_miller_witness func.

mikeivanov commented 8 years ago

@mynameisvinn -- thanks! Looks good except for a couple of points, please see the comments.