Code and Coffee has put together a password strength meter using Ajax to check the strength of a given password in real-time. Google and other web services are picking up on the trend of using these meters to inform new users, just how strong their chosen password is.
Using Code And Coffee’s demo page, I typed in the password, ( password ) and the meter read, VERY SECURE. Obviously, the algorithm needs some work, but the good news is, you can actually change the way the algorithm works. Code and Coffee decided to base their password algorithm off of Intelligent Web. Their algorithm calculates how many different combinations there are for a password, as it’s being entered, then determines how many days it would take to crack the password. The algorithm returns a percentage that is turned into a GUI for end users to see.