This question already has an answer here:

I know that the formula for the entropy of a message is: entropy formula (I believe b can be set to 2)

but when calculating the entropy of a password websites usually only compute log2(p-1), ignoring the first term. Is there a difference in these types of entropy?

Note: The website I am referring to in this instance is http://passwordstrengthcalculator.org/index.php. Thank you for the help.

marked as duplicate by Steve Dodier-Lazaro, Lucas Kauffman, schroeder, Steve, Mark May 23 '15 at 0:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.