On ESP32, if I use urandom.getrandbits(64), I get "ValueError:" without any more info. If I use urandom.getrandbits(32) or lowerf, it works.
Is this a limitation or a bug maybe?
ESP32 urandom.getrandbits(64) value error
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: ESP32 urandom.getrandbits(64) value error
Yes, max value for getrandbits() is 32.