This plugin provides you to detect strength of password. It give help messages to write a strong password and generates on demand personnalized password. Help can be localized and shown in a tooltip or directly after input.
jQuery jPassword requires jQuery 1.2 or above.
$("input").jpassword({ length: 6 });
Until I put up the comments...