I want to compute the possible combinations of a password consists of 8 digits of: alphabetical letters (26), numbers (0-9), symbols and punctuations.

In order to compute this, I have to know the total no. of possible characters and raise this to the power of length of the password. However, I do not know how many possible symbols or punctuations are there? Can any one help with a reference if possible please.

closed as off-topic by TildalWave, Xander, Eric G, Adi, Gilles Apr 5 '14 at 12:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – TildalWave, Xander, Eric G, Adi
If this question can be reworded to fit the rules in the help center, please edit the question.


This depends on the character set/encoding you're working with.

If we consider ASCII then there are 95 printable characters in total (see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters). This includes lowercase and uppercase letters, digits, punctuation, and special (but printable) characters.

Not the answer you're looking for? Browse other questions tagged or ask your own question.