Security Issue - random.randint
Opened this issue · 0 comments
JoelMon commented
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