python-ecdsa icon indicating copy to clipboard operation
python-ecdsa copied to clipboard

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

Open tomato42 opened this issue 4 years ago • 1 comments

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 avatar Dec 06 '20 19:12 tomato42

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

tomato42 avatar Dec 10 '20 22:12 tomato42