Cryptography & Security
Advanced
Shannon Entropy
Average information content — and the theoretical strength of a random source.
Formula
Variables
HEntropy (bits)
p_iProbability of symbol i
Example
Fair coin: H = -2(0.5 log 0.5) = 1 bit
Did You Know?
Claude Shannon coined the term 'bit' and founded information theory in a single 1948 paper.
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.
Password Entropy
IntermediateBits of security from password length and character-set size.
Key Space Size
IntermediateNumber of possible keys for a b-bit key.
Birthday Bound
AdvancedCollisions become likely after about √ of the hash space.