Cryptography & Security
Advanced
Avalanche Effect Target
A good hash flips about half its output bits when one input bit changes.
Formula
Live Calculator
MembersVariables
E[Δ]Expected bits changed
nOutput size (bits)
Example
256-bit hash: ~128 bits should flip per input change
Did You Know?
The avalanche effect is why changing a single comma in a document utterly transforms its SHA-256 fingerprint.
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.