get_password_strength


Description:

public int get_password_strength ()

Get indication of the password strength.

Prompts will return a zero value if the password is empty, and a value greater than zero if the password has any characters.

This is only valid after a successful prompt for a password.

Parameters:

this

the prompt

Returns:

zero if the password is empty, greater than zero if not