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

Switch from SHA1(mt_rand) to bin2hex(random_bytes) for cryptographic security. #897

Merged
merged 2 commits into from
Jul 29, 2021
Merged

Switch from SHA1(mt_rand) to bin2hex(random_bytes) for cryptographic security. #897

merged 2 commits into from
Jul 29, 2021

Conversation

michaellrowley
Copy link
Contributor

See this - feel free to let me know if this breaks anything.

bin2hex should convert the random-generated bytes to a hex-formatted string.
@panique panique merged commit fe86543 into panique:master Jul 29, 2021
panique added a commit that referenced this pull request Sep 16, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants