jeudi 18 juillet 2019

Which is faster - md5 or random_bytes function in PHP?

I'm new to PHP and I need to generate 64-character long random string. Which is faster, md5($random_string) or bin2hex( random_bytes(64) )? I don't really care about truly being random.




Aucun commentaire:

Enregistrer un commentaire