- /**
- * Evaluate the strength of a user's password.
- *
- * Returns the estimated strength and the relevant output message.
- *
- * @param {string} password
- * The password to evaluate.
- * @param {object} translate
- * An object containing the text to display for each strength level.
- *
- * @return {object}
- * An object containing strength, message, indicatorText and indicatorClass.
- */