Hi there, I believe that this might give you some ideas It's an article about generating hashed passwords but I think you could use it to secure your passwords AND create strong ones at the same time. Hope that helps!
free script like this: http://www.sentosoft.com/free-php-script-password-generator.php special chars like #, +, -, ... can be added to source string alfa. I'd remove 1, l, O, o, 0 at least, because they tend to cause trouble when you write down your pwd by hand and later try to "decipher" your own writing If password is going to be used with encryption, at least 10 chars are needed for something that is more or lesss secure (depends on number of chars in source chars). Security in bits can be calculated like this: bits * log(2) = numcharspwd * log(numcharssrc) So if your number of possible chars is 70 and you want a minimum strength of 80 bit, you do 80 * log(2) = numcharspwd * log(70) Would mean that you need at least 13 chars in the password to get around 80 bit security.
Here you are: // Create Password $totalChar = 8; // number of chars in the password $salt = "abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ123456789"; // salt to select chars from srand((double)microtime()*1000000); // start the random generator $Spass=""; // set the inital variable for ($i=0;$i<$totalChar;$i++) // loop and create password $Spass = $Spass . substr ($salt, rand() % strlen($salt), 1); Run this in a loop to generate as many password as you want. Enjoy! Gonzo
HI just use simple metho for strong password, which can easily use by use $password=md5("mypassword".date(His)); what you think.............
HI just use simple metho for strong password, which can easily use by use $password=md5("mypassword"); what you think.............