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

Security Issue - random.randint #2

Closed
JoelMon opened this issue Oct 18, 2014 · 0 comments
Closed

Security Issue - random.randint #2

JoelMon opened this issue Oct 18, 2014 · 0 comments

Comments

@JoelMon
Copy link

JoelMon commented Oct 18, 2014

⚠️ random.randint() is used to generate pseudo numbers for non security sensitive applications, random() is being used in this program and it is a security risk.

"Warning The pseudo-random generators of this module should not be used for security purposes. Use os.urandom() or SystemRandom if you require a cryptographically secure pseudo-random number generator." https://docs.python.org/2/library/random.html

@hbs hbs closed this as completed in 77ed9cd Jan 12, 2025
hbs added a commit that referenced this issue Jan 12, 2025
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

1 participant