This tutorial is about a jquery plugin to estimate the strength of password entered. This plugin differs from other similar plugins because of the analysis method it uses, it uses concept of entropy to judge the strength of a password (i.e. it tries to calculate its equivalence to n bits of random data). Its much better than other plugins which use regular expressions tests to calculate password strength. Now lets get straight to usage of plugin.
Download the attachment to include the jquery.passstrength.js file in head section of your html page and use the below function to calculate password strength.
Here is a complete example page with usage.
<title>Early Sandwich Password Strenght Check</title>
<input type="password" name="password" />