Skip to content

Conversation

@oplik0
Copy link
Contributor

@oplik0 oplik0 commented Jun 5, 2022

resolves #10

Adds a predict_random function based on the code for the random implementation (note: the constants are 226 and 253 respectively, I kept them as they were in the source), and a test to show that it's as accurate as the rest of the library.

This PR also removes the incorrent note about random.random() using os.urandom from the README and adds the new method to the list there.

@tna0y tna0y merged commit 958780e into tna0y:master Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

random.random() is not based on /dev/urandom

2 participants