Cryptography & Security
Advanced
Hamming Code Parity Bits
Minimum parity bits r needed to protect m data bits.
Formula
Variables
rParity bits
mData bits
Example
m=4: r=3 satisfies 8 ≥ 4+3+1
Did You Know?
Hamming(7,4) codes can correct any single-bit error — the ancestor of modern ECC memory.
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.
Password Entropy
IntermediateBits of security from password length and character-set size.
Key Space Size
IntermediateNumber of possible keys for a b-bit key.