samedi 7 février 2015

PHP rand vs mt_rand vs openssl_random_pseudo_bytes

I want to generate a random string and was doing some research and found the following link:


http://ift.tt/1AFdypc


In the post the writer is saying that openssl_random_pseudo_bytes is significant faster then the other two. Is this true? Is openssl_random_pseudo_bytes really that much faster? Is that the correct way to test the "fastness" of functions?





Aucun commentaire:

Enregistrer un commentaire