Posts Tagged With: rand

Generate Password

Tagged with: , , , , ,

Command to generate a random password…


openssl rand -base64 6
No Comments »

Random Password in PHP

Tagged with: , , , , ,

A simple way to create a random password in PHP


$password = substr(md5(time()), 0, rand(4,8));
4 Comments »