Porta Cipher: Giovanni Battista della Porta's Renaissance Encryption

The Porta cipher is a polyalphabetic substitution cipher created by Giovanni Battista della Porta in 1563. It uses 13 reciprocal alphabets where pairs of key letters select the same substitution table, making encryption and decryption identical operations. Use this free tool to encode and decode messages with della Porta's self-reciprocal system instantly.

Self-ReciprocalSame operation for encrypt & decrypt
Result
0 characters
Keyword:
Options:Preserve Case

Porta 13-Table System

Each pair of key letters (A/B, C/D, E/F, ..., Y/Z) uses the same substitution table. Click on tables to explore the system.

All 13 Tables Overview

Table 0 (A/B)
NOPQRSTUVWXYZABCDEFGHIJKLM
Table 1 (C/D)
OPQRSTUVWXYZNMABCDEFGHIJKL
Table 2 (E/F)
PQRSTUVWXYZNOLMABCDEFGHIJK
Table 3 (G/H)
QRSTUVWXYZNOPKLMABCDEFGHIJ
Table 4 (I/J)
RSTUVWXYZNOPQJKLMABCDEFGHI
Table 5 (K/L)
STUVWXYZNOPQRIJKLMABCDEFGH
Table 6 (M/N)
TUVWXYZNOPQRSHIJKLMABCDEFG
Table 7 (O/P)
UVWXYZNOPQRSTGHIJKLMABCDEF
Table 8 (Q/R)
VWXYZNOPQRSTUFGHIJKLMABCDE
Table 9 (S/T)
WXYZNOPQRSTUVEFGHIJKLMABCD
Table 10 (U/V)
XYZNOPQRSTUVWDEFGHIJKLMABC
Table 11 (W/X)
YZNOPQRSTUVWXCDEFGHIJKLMAB
Table 12 (Y/Z)
ZNOPQRSTUVWXYBCDEFGHIJKLMA
The Porta cipher uses only 13 tables instead of 26, with each table being self-reciprocal (encryption = decryption)

Frequently Asked Questions About Porta Cipher

What is the Porta cipher?

It is a polyalphabetic substitution cipher. Invented by Giovanni Battista della Porta in 1563 and published in 'De Furtivis Literarum Notis,' it uses 13 substitution alphabets selected by pairs of key letters. Each alphabet swaps letters between two halves of the alphabet, making it one of the earliest self-reciprocal encryption systems in cryptographic history.

How does the Porta cipher work?

Each key letter selects one of 13 substitution tables. The key letters are paired (A/B, C/D, E/F, etc.), so two adjacent letters share the same table. Within each table, the first 13 letters (A-M) are mapped to the last 13 letters (N-Z) and vice versa. The key repeats across the plaintext, and each plaintext letter is replaced by its counterpart in the selected table.

Who invented the Porta cipher?

Giovanni Battista della Porta invented it. Born in 1535 in Naples, Italy, della Porta was a polymath, playwright, and cryptographer. He published the cipher in his 1563 work 'De Furtivis Literarum Notis,' which also covered other cryptographic methods. His contributions made him a key figure in Renaissance-era cryptography alongside Alberti and Trithemius.

Why does the Porta cipher use only 13 alphabets?

Because the English alphabet has 26 letters. The Porta cipher divides the alphabet into two halves of 13 letters each (A-M and N-Z) and swaps between them. Since each table maps the first half to the second half reciprocally, only 13 distinct substitution alphabets are needed. Key letters are also paired into 13 groups (A/B through Y/Z), each selecting one table.

Is the Porta cipher reciprocal?

Yes, the Porta cipher is fully self-reciprocal. Applying the same encryption operation to ciphertext with the same key produces the original plaintext. This means there is no separate decryption algorithm — the identical process encrypts and decrypts. This property arises because each substitution table pairs letters symmetrically between the two alphabet halves.

How do you decrypt a Porta cipher?

Use the exact same process as encryption. Because the Porta cipher is self-reciprocal, you enter the ciphertext and the original keyword, and the tool outputs the plaintext. Each ciphertext letter is looked up in the same substitution table determined by the corresponding key letter, and the reciprocal mapping returns the original letter automatically.

How is the Porta cipher different from Vigenere?

The main difference is the substitution method. The Vigenere cipher shifts the entire alphabet by a key-determined amount, producing 26 possible alphabets. The Porta cipher swaps letters between two halves of the alphabet using 13 tables, making it self-reciprocal. Vigenere requires separate encryption and decryption operations, while Porta uses one operation for both.

Where can I find the complete Porta cipher table?

Our Porta cipher table page shows all 13 substitution alphabets with interactive highlighting. Each table maps the first half of the alphabet (A-M) to the second half (N-Z) with a different offset. You can also view multiple historical variants including della Porta's original 1563 version and the ACA-standardized modern version.

What is the Porta Cipher?

The Porta cipher is a polyalphabetic substitution cipher invented by Italian scholar Giovanni Battista della Porta in 1563. Published in his treatise De Furtivis Literarum Notis, it uses 13 reciprocal substitution alphabets — half as many as the Vigenère cipher — while achieving comparable security through an elegant mathematical property: self-reciprocity.

Each of the 13 alphabets swaps letters between two halves (A–M and N–Z), so encryption and decryption are the exact same operation. If "A" encrypts to "N" under a given key letter, applying the same process to "N" returns "A." This made the cipher exceptionally practical for Renaissance diplomats and military commanders who needed a system that was both secure and hard to misuse in the field.

How to Encrypt with the Porta Cipher

  1. Choose a keyword — any memorable word or phrase (e.g., "NAPLES")
  2. Write the keyword repeatedly above the plaintext, one key letter per plaintext letter
  3. Look up each key letter pair — A/B → Table 0, C/D → Table 1, … Y/Z → Table 12
  4. Substitute each plaintext letter using the selected table
  5. To decrypt, repeat the exact same steps with the ciphertext — the reciprocal tables reverse the mapping automatically

Our tool performs all of this in real time as you type, with support for multiple historical table variants.

Porta Cipher Table — Complete 13-Alphabet Reference

The defining feature of this cipher is its compact table system. Key letters are paired so that two consecutive letters share the same substitution alphabet:

TableKey LettersMapping Principle
0A, BFirst-half ↔ second-half swap with offset 0
1C, DSwap with offset 1
2E, FSwap with offset 2
3G, HSwap with offset 3
4I, JSwap with offset 4
5K, LSwap with offset 5
6M, NSwap with offset 6
7O, PSwap with offset 7
8Q, RSwap with offset 8
9S, TSwap with offset 9
10U, VSwap with offset 10
11W, XSwap with offset 11
12Y, ZSwap with offset 12

For the full interactive table with all 26-letter mappings, see our Porta Cipher Table page.

Porta Cipher vs Vigenère Cipher

Both are polyalphabetic ciphers, but they differ in fundamental ways:

FeaturePorta CipherVigenère Cipher
Alphabets13 reciprocal tables26 shift tables
Key letter mappingPaired (A/B share a table)Individual (each letter = unique shift)
ReciprocalYes — same operation encrypts and decryptsNo — requires separate decrypt step
Output rangeCiphertext letter always in opposite halfAny letter possible
Invented1563 by della Porta1586 by Blaise de Vigenère
Security levelModerate (smaller key space per position)Moderate (larger alphabet set)

Both are vulnerable to Kasiski examination and frequency analysis once the key length is determined.

Frequently Asked Questions

What is the Porta cipher?

It is a polyalphabetic substitution cipher created by Giovanni Battista della Porta in 1563. It uses 13 self-reciprocal alphabets selected by paired key letters, making encryption and decryption identical operations.

How do you decrypt a Porta cipher?

Use the exact same process as encryption. Because each substitution table is its own inverse, entering ciphertext with the original key produces plaintext automatically. Our decoder also supports automated cryptanalysis when the key is unknown.

Why does it use only 13 alphabets instead of 26?

The alphabet is split into two halves of 13 letters each (A–M and N–Z). Each table swaps between these halves reciprocally, so only 13 distinct mappings are needed. Key letters are paired into 13 groups accordingly.

Is the Porta cipher still secure?

No. Like all classical polyalphabetic ciphers, it falls to modern statistical attacks — Friedman testing, Kasiski examination, and brute force. With only 13 effective alphabets and short keyword reuse, a computer can break it in seconds. It remains valuable for education and historical study.

How is it different from the Beaufort cipher?

Both are self-reciprocal, but they achieve it differently. The Porta cipher uses 13 dedicated swap tables, while the Beaufort cipher uses a single reversed-alphabet formula. Porta was invented nearly 300 years earlier (1563 vs. 1850s).