statlab / cryptorandom

Pseudorandom number generators based on cryptographic hash functions
https://statlab.github.io/cryptorandom/
BSD 2-Clause "Simplified" License
3 stars 10 forks source link

getrandbits() should save the leftovers to avoid extra calls to nextRandom(), and should check k #7

Closed pbstark closed 6 years ago

pbstark commented 6 years ago