Cryptography & Security
Basic
Caesar Cipher Shift
Shift each letter forward by k positions.
Formula
Variables
cCipher letter (0–25)
mPlain letter (0–25)
kShift
Example
m=0 (A), k=3: c = 3 (D)
Did You Know?
Julius Caesar shifted letters by three to protect military messages over two thousand years ago.
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.