Cryptography & Security
Intermediate
Password Entropy
Bits of security from password length and character-set size.
Formula
Variables
HEntropy (bits)
LPassword length
RSize of character set
Example
12 chars from 95 printable: H = 12 log2(95) ≈ 78.8 bits
Did You Know?
Every extra random character adds about 6.6 bits — length beats complexity for strong passwords.
Share this formula
More in Cryptography & Security
View allModular Exponentiation
IntermediateCore operation of RSA encryption — raise a message to a power, modulo n.
RSA Decryption
AdvancedRecovers the message using the private exponent d.
Euler's Totient
IntermediateCounts integers below n coprime to it, for n = pq — used to make RSA keys.
Shannon Entropy
AdvancedAverage information content — and the theoretical strength of a random source.
Key Space Size
IntermediateNumber of possible keys for a b-bit key.
Birthday Bound
AdvancedCollisions become likely after about √ of the hash space.