Category: random number generator

Randomness in PHP – Do You Feel Lucky?

This article analyzes problems related to random number generation used for cryptography purposes. PHP 5 does not provide an easy mechanism for generating cryptographically strong random numbers, while PHP 7 solves this by introducing a couple of CSPRNG functions. What is a CSPRNG? Quoting Wikipedia, a Cryptographic...