STATION 25 / FIELD MANUAL

← Back to crypto library

Porta

Polyalphabetic

Porta uses thirteen reciprocal substitution alphabets selected by paired key letters: A/B select one alphabet, C/D another, through Y/Z. The key repeats across the message. Each substitution swaps a letter from A–M with one from N–Z.

How to recognise it

A table with thirteen rows labelled by key-letter pairs is a strong clue. Ciphertext alone resembles other polyalphabetic methods. Equivalent key letters within a pair produce the same substitution.

Worked example: encrypt CAT with key C

Use the C/D row below. The upper half always reads A–M. For C/D, rotate N–Z one place to the right; map vertically in either direction:

Key pair C/D
Upper: A B C D E F G H I J K L M
Lower: Z N O P Q R S T U V W X Y

C (upper) → O (lower)
A (upper) → Z (lower)
T (lower) → H (upper)
Result: OZH
  1. Repeat C for all three positions, selecting the C/D substitution each time.
  2. Find each input in either half and take its vertical partner.
  3. CAT becomes OZH.

Work backwards: decrypt OZH

Use the same C/D row: O → C, Z → A, H → T. No inverse table is needed because the pairing is reciprocal. This recovers CAT.

Building other rows and avoiding mistakes

For A/B use N–Z without rotation. For E/F rotate it two places right; continue to Y/Z with twelve right rotations. A longer keyword may select a different row at each position. Keep the direction of rotation consistent: the mirrored convention gives different results. This is not a Vigenère table with half its rows deleted.

  • Beaufort — Another reciprocal key-dependent alphabetic cipher.
  • Vigenère — Compare ordinary shifts with Porta’s paired half-alphabets.

Useful desk reference

Alphabet positions — Use the A=0 row for modular arithmetic.

Further reading

Support this project

Enjoying Advent of Cypher? If you'd like to support the project and help keep it running, you can make a small donation. Completely optional, always appreciated.