Bifid Cipher
Encode or decode Bifid text with a keyed square and selectable period.
How Bifid Cipher works
Bifid Cipher handles Polybius row and column coordinates by collecting them across fixed-size blocks before pairing the digits back into ciphertext letters. For each period block, all row digits are written before all column digits. Decoding splits the recovered coordinate stream into equal row and column halves. The Bifid Cipher exposes its message, square keyword, period, operation controls so this particular convention stays inspectable instead of hiding behind an unexplained preset.
DEFENDTHEEASTWALL with keyword FORTIFICATION and period five becomes NRDFRCHLQFBIASAHZ and reverses to the normalized plaintext. Students can see how fractionation spreads information from one plaintext letter across neighboring ciphertext letters rather than substituting independently. The Bifid Cipher presents a deterministic plain-text result that can be copied and compared with the worked value before it enters another workflow.
Limits and private processing
J is folded into I, nonletters disappear, and periods above the remaining block length have no extra effect. Bifid has historical interest only. The Bifid Cipher performs its complete operation locally in your browser; neither the source text nor its settings are uploaded, stored remotely, or sent through an external request.
Frequently Asked Questions
How does the Bifid Cipher work?
For each period block, all row digits are written before all column digits. Decoding splits the recovered coordinate stream into equal row and column halves.
What does the default Bifid Cipher example return?
DEFENDTHEEASTWALL with keyword FORTIFICATION and period five becomes NRDFRCHLQFBIASAHZ and reverses to the normalized plaintext.
What limitation should I know about?
J is folded into I, nonletters disappear, and periods above the remaining block length have no extra effect. Bifid has historical interest only.
Is the Bifid Cipher private?
Yes. This specific bifid cipher operation runs locally in your browser and does not transmit the input or settings.
Browse the full set of free, private, in-browser tools.