Homophonic Substitution Cipher
Type a message to encode it with a simplified homophonic substitution cipher.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
A homophonic substitution cipher improves on a plain substitution cipher (where each letter always maps to the same symbol) by giving common letters several interchangeable codes instead of just one. Because a letter like “e” might be replaced by any of several different 2-digit numbers depending on where it appears, the resulting ciphertext has a flatter, more uniform distribution of symbols, which defeats simple frequency analysis — the classic technique of counting symbol frequency to guess which cipher-symbol represents “e”, “t”, and so on.
Historical nomenclators and “great ciphers” used by diplomats and spies from the Renaissance through the 19th century (and famously the unsolved Zodiac Killer’s 340-character cipher) relied on this same many-to-one idea. This tool is an educational demonstration: type a message and it encodes each letter into a 2-digit code that shifts with position, letting you see how homophonic substitution scrambles letter frequency compared to a simple one-to-one cipher.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)