Closed Shelob9 closed 4 years ago
Here, the core function wp_generate_password is used to generate some sort of hash value:
wp_generate_password
https://github.com/trustedlogin/trustedlogin-client/blob/987efd9a362a3294e921e9f64ae0f796cbc84158/src/Client.php#L501-L503
This has two key weakness:
Related #3
Use random_bytes() instead
random_bytes()
bin2hex()
Here, the core function
wp_generate_password
is used to generate some sort of hash value:https://github.com/trustedlogin/trustedlogin-client/blob/987efd9a362a3294e921e9f64ae0f796cbc84158/src/Client.php#L501-L503
This has two key weakness:
Related #3