This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scores a password's strength. | |
* | |
* It scores a password according to several factors like character variation, | |
* repetition and length. The passwords are scored in a numeric point scale that | |
* varies from less than 0 to 100 and more. A safe password score should be | |
* considered as 49 points or more. | |
* | |
* @param {String} pwd The password string to score. | |
* |