How hardened is your password ? ##Try it online !
This code was modified from the code provided by Jeff Todnem (http://www.todnem.com/). I have modified it to add a couple dictionaries. Additionally I have added a measurement to understand the size of the entropy. Finally I have added a days to hack metric, that is mostly handwaving and lies, but it was asked for by people.
The code is messy and nothing I am overly proud of, but I have been lazy in getting into compliance with the GPL on this.
I might spend the time to get this into shape and into something that I am proud of. Time will tell.
Created by: Jeff Todnem (http://www.todnem.com/)
Created on: 2007-08-14
Modified by: Ted Tschopp (http://tschopp.net)
Last modified: 2012-10-24
Portions Copyright (C) 2007 Jeff Todnem
Portions Copyright (C) 2012 Ted Tschopp
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA