Search for a tool
Porta Cipher

Tool to decrypt / encrypt with Porta cipher. Invented by an Italian physicist Della Porta, this polyalphabetic cipher changes alphabet every letter.

Results

Porta Cipher -

Tag(s) : Poly-Alphabetic Cipher

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Porta Cipher' tool for free! Thank you!

Porta Cipher

Porta Decoder

 



Loading...
(if this message do not disappear, try to refresh this page)

Alphabet fill: [Original (22 letters)] [Variant 26 letters (1)] [Variant 26 letters (2)]

Porta Encoder

 



Loading...
(if this message do not disappear, try to refresh this page)

Alphabet fill: [Original (22 letters)] [Variant 26 letters (1)] [Variant 26 letters (2)]

Answers to Questions (FAQ)

What is the Porta cipher? (Definition)

The original Porta encryption is a polyalphabetic encryption using a key and a series of 11 reversible alphabets.

How to encrypt using Porta cipher?

Porta encryption uses a key and 11 reversible alphabets each associated with 2 letters of the alphabet: A and B for the first, C and D for the second, and so on.

As Porta is Italian, its alphabet has only 22 letters: ABCDEFGHILMNOPQRSTVXYZ (missing J, K, U and W)

To use the Latin alphabet, the principle has been intrapolated to 26 letters and 13 alphabets.

Example: The alphabets used by default are:

ABNOPQRSTUVWXYZABCDEFGHIJKLM
CDZNOPQRSTUVWXYABCDEFGHIJKLM
EFYZNOPQRSTUVWXABCDEFGHIJKLM
GHXYZNOPQRSTUVWABCDEFGHIJKLM
IJWXYZNOPQRSTUVABCDEFGHIJKLM
KLVWXYZNOPQRSTUABCDEFGHIJKLM
MNUVWXYZNOPQRSTABCDEFGHIJKLM
OPTUVWXYZNOPQRSABCDEFGHIJKLM
QRSTUVWXYZNOPQRABCDEFGHIJKLM
STRSTUVWXYZNOPQABCDEFGHIJKLM
UVQRSTUVWXYZNOPABCDEFGHIJKLM
WXPQRSTUVWXYZNOABCDEFGHIJKLM
YZOPQRSTUVWXYZNABCDEFGHIJKLM

The Porta algorithm consists of taking the first letter of the key, finding the corresponding alphabet, and making a substitution of the first letter of the plain text with this alphabet.

Example: Encrypt the message DCODE with the key PORTA. The first letter of the key P corresponds to the alphabet ABCDEFGHIJKLMTUVWXYZNOPQRS, which allows to substitute the letter D with W

The encryption is continued by taking the second letter of the key and the corresponding alphabet and substituting the second letter of the plain text, with this second alphabet and so on.

Example: DCODE is then encrypted WVJUR.

How to decrypt Porta cipher?

Decryption is the same as encryption if alphabets are reversible.

What are common Porta alphabets?

Since the original alphabet was Italian, it only had 22 letters, modernizing Porta to the current 26 letter alphabet is an interpolation.

Several sets of reversible alphabets are mentioned, including:

— (1) original version extrapolated (rotation of the second half of the alphabet to the right) :

NOPQRSTUVWXYZABCDEFGHIJKLM
ZNOPQRSTUVWXYABCDEFGHIJKLM
YZNOPQRSTUVWXABCDEFGHIJKLM
XYZNOPQRSTUVWABCDEFGHIJKLM
WXYZNOPQRSTUVABCDEFGHIJKLM
VWXYZNOPQRSTUABCDEFGHIJKLM
UVWXYZNOPQRSTABCDEFGHIJKLM
TUVWXYZNOPQRSABCDEFGHIJKLM
STUVWXYZNOPQRABCDEFGHIJKLM
RSTUVWXYZNOPQABCDEFGHIJKLM
QRSTUVWXYZNOPABCDEFGHIJKLM
PQRSTUVWXYZNOABCDEFGHIJKLM
OPQRSTUVWXYZNABCDEFGHIJKLM

— (2) variant suggested by ACA (American Cryptogram Association) (rotation of the second half of the alphabet to the left):

NOPQRSTUVWXYZABCDEFGHIJKLM
OPQRSTUVWXYZNABCDEFGHIJKLM
PQRSTUVWXYZNOABCDEFGHIJKLM
QRSTUVWXYZNOPABCDEFGHIJKLM
RSTUVWXYZNOPQABCDEFGHIJKLM
STUVWXYZNOPQRABCDEFGHIJKLM
TUVWXYZNOPQRSABCDEFGHIJKLM
UVWXYZNOPQRSTABCDEFGHIJKLM
VWXYZNOPQRSTUABCDEFGHIJKLM
WXYZNOPQRSTUVABCDEFGHIJKLM
XYZNOPQRSTUVWABCDEFGHIJKLM
YZNOPQRSTUVWXABCDEFGHIJKLM
ZNOPQRSTUVWXYABCDEFGHIJKLM

— (3) variant (double rotation of the alphabet) :

NOPQRSTUVWXYZABCDEFGHIJKLM
OPQRSTUVWXYZNMABCDEFGHIJKL
PQRSTUVWXYZNOLMABCDEFGHIJK
QRSTUVWXYZNOPKLMABCDEFGHIJ
RSTUVWXYZNOPQJKLMABCDEFGHI
STUVWXYZNOPQRIJKLMABCDEFGH
TUVWXYZNOPQRSHIJKLMABCDEFG
UVWXYZNOPQRSTGHIJKLMABCDEF
VWXYZNOPQRSTUFGHIJKLMABCDE
WXYZNOPQRSTUVEFGHIJKLMABCD
XYZNOPQRSTUVWDEFGHIJKLMABC
YZNOPQRSTUVWXCDEFGHIJKLMAB
ZNOPQRSTUVWXYBCDEFGHIJKLMA

— (4) variant (double rotation of the alphabet)

NOPQRSTUVWXYZABCDEFGHIJKLM
ZNOPQRSTUVWXYBCDEFGHIJKLMA
YZNOPQRSTUVWXCDEFGHIJKLMAB
XYZNOPQRSTUVWDEFGHIJKLMABC
WXYZNOPQRSTUVEFGHIJKLMABCD
VWXYZNOPQRSTUFGHIJKLMABCDE
UVWXYZNOPQRSTGHIJKLMABCDEF
TUVWXYZNOPQRSHIJKLMABCDEFG
STUVWXYZNOPQRIJKLMABCDEFGH
RSTUVWXYZNOPQJKLMABCDEFGHI
QRSTUVWXYZNOPKLMABCDEFGHIJ
PQRSTUVWXYZNOLMABCDEFGHIJK
OPQRSTUVWXYZNMABCDEFGHIJKL

To increase the security in the transmission of the encryption, it is recommended to use other alphabets.

How to recognize a Porta ciphertext?

The message has a low index of coincidence due to the use of several alphabets.

How to decipher Porta without the key?

A Friedman test retrieves the key length probabilistically.

What are the variants of the Porta cipher?

This is not a variant but Porta is similar to the Bellaso Cipher, another Italian, which uses several alphabets.

When was the Porta cipher invented?

In the 16th century by Giambattista della Porta, a physicist who dedicated a book on messages encryption.

Source code

dCode retains ownership of the "Porta Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Porta Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Porta Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Porta Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cita dCode

The copy-paste of the page "Porta Cipher" or any of its results, is allowed (even for commercial purposes) as long as you cite dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Porta Cipher on dCode.fr [online website], retrieved on 2024-05-07, https://www.dcode.fr/porta-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Porta Cipher' tool for free! Thank you!


https://www.dcode.fr/porta-cipher
© 2024 dCode — El 'kit de herramientas' definitivo para resolver todos los juegos/acertijos/geocaching/CTF.
 
Feedback