Skip to content

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

Merged
panique merged 2 commits into
panique:masterfrom
michaellrowley:security-patch
Jul 29, 2021
Merged

Switch from SHA1(mt_rand) to bin2hex(random_bytes) for cryptographic security.#897
panique merged 2 commits into
panique:masterfrom
michaellrowley:security-patch

Conversation

@michaellrowley

Copy link
Copy Markdown
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.

2 participants