[PHP] Password Strength

Geffy

OSNN Veteran Addict
#1
I have spent the past day or so working on a PHP script to measure the strength of passwords.

It uses four different measurements to build its final result. I would appreciate it some of you could look at it, test it with your own passwords and give me an idea of how accurate you think it is and so on.

class.passwordstrength.php

ideally you might test it in a script like this
PHP:
<?php
require "class.passwordstrength.php";
$ps = new PasswordStrength;

$password = "mypassword";
$minimum_password_length = 8;
echo "$password scores ". $ps->score($password, $minimum_password_length);
?>
Please let me know what you think of it.
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,969
Messages
673,295
Members
89,015
Latest member
arrangel