Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using a CSPRNG #5

Closed
Spaceghost opened this issue May 11, 2015 · 1 comment
Closed

Consider using a CSPRNG #5

Spaceghost opened this issue May 11, 2015 · 1 comment

Comments

@Spaceghost
Copy link

I'd suggest you change your random function.

I'm not a pythonist myself, but something that seeds from urandom would be better. https://docs.python.org/3/library/os.html#os.urandom

@crobertsbmw
Copy link
Owner

I will look into urandom. I was almost thinking it would be cool to implement a simulation of a riffle shuffle (http://en.wikipedia.org/wiki/Shuffling#Riffle). Although randomness would still be just as valid of an issue and the end user probably wouldn't ever care or even know.

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

No branches or pull requests

2 participants