Skip to content
Snippets Groups Projects
Commit bd804b74 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

mt_rand() is not secure from a security point of view and predictable. Let's...

mt_rand() is not secure from a security point of view and predictable. Let's use openssl_random_pseudo_bytes() instead.

Before: 26 bits entropy
After: 72 bits entropy
parent dc66e94e
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment