tlsfuzzer / python-ecdsa

pure-python ECDSA signature/verification and ECDH key agreement
Other
911 stars 311 forks source link

util.PRNG and thus randrange_from_seed_* are not constant over python versions #221

Open tomato42 opened 3 years ago

tomato42 commented 3 years ago

the PRNG generates a different keystream on Py2 than it does on Python3, as such methods like randrange_from_seed__trytryagain are not constant over python versions

tomato42 commented 3 years ago

we should probably implement two ones, one that behaves like the python2 version even on python3 and one that behaves like the python3 version even on python2