public static int computeEntropy(char password)
Compute entropy based on number of bits. The entropy formula
is purely mathematically and words found in a dictionary are
not taken in amount by the method.
password - as array of characters, for security reasons.
the number of bits of entropy, usually between 5 and 50 bits.