-
Notifications
You must be signed in to change notification settings - Fork 112
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
Use Symfony’s SecureRandom instead of home-grown crypto code #86
Comments
|
Then I would recommend on using paragonie/random_compat |
IMO, the right way is to use There is no point allowing developers to switch to a less secure generator IMO. |
Makes sense, the only downside is that you can’t mock out random numbers anymore easily. |
What about using Symfony’s
SecureRandom
orrandom_bytes()
to generate tokens?The text was updated successfully, but these errors were encountered: