Closed btoews closed 11 years ago
@atmos everything looks really good. My only problem is that it is using rand() for the state generation. It would take a lot of other problems for this to be exploitable, but still we should be using OpenSSL for randomness.
rand()
If changing really is necessary, I'd advocate SecureRandom.hex that uses OpenSSL under the hood.
SecureRandom.hex
@atmos everything looks really good. My only problem is that it is using
rand()
for the state generation. It would take a lot of other problems for this to be exploitable, but still we should be using OpenSSL for randomness.