lundi 20 juillet 2015

Create a Random string from another string

I want to create random string using another string. I mean I need a code to get a string as variable and then return another string based on the string and this random string should't change. I need to set length size for the random string...

example :

$a = "number1";
$d = generateRandomString($a,$length = 10);

$d should't change in each run...




Aucun commentaire:

Enregistrer un commentaire