vendredi 29 janvier 2016

How to generate a random cryptographically secure string in php

I need to create session key. I want to generate a completely random string to than hash it with password_hash().

What would be a good way to generate a completely random string in my current situation?




Aucun commentaire:

Enregistrer un commentaire