Search for a tool
Spiral Cipher

Tool to write/read a spiral cipher. The spiral encryption/writing system consists to write a text in a quadrangular spiral and read it by lines or columns.

Results

Spiral Cipher -

Tag(s) : Transposition Cipher

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 'Spiral Cipher' tool for free! Thank you!

# Spiral Cipher

## Spiral Writing Decoder

Only works with odd sized spirals! Sorry (work is progress)

 Keep spaces and punctuation letters only

## Spiral Encoder

Only works with odd sized spirals! Sorry (work is progress)

 Keep spaces and punctuation letters only
 Spiral Inward from top-left, clockwise Inward from top-left, counterclockwise Inward from top-right, clockwise Inward from top-right, counterclockwise Inward from bottom-right, clockwise Inward from bottom-right, counterclockwise Inward from bottom-left, clockwise Inward from bottom-left, counterclockwise Outward, start by right, clockwise Outward, start by right, counterclockwise Outward, start by bottom, counterclockwise Outward, start by bottom, clockwise Outward, start by left, counterclockwise Outward, start by left, clockwise Outward, start by up, counterclockwise Outward, start by up, clockwise

### What is spiral writing? (Definition)

Spiral writing is a way of writing text not from left to right, but in a spiral (usually following a rectangular grid) with a predefined direction of rotation. This writing can be similar to a cipher by transposition, since the text is read differently, such as from left to right.

### How to encrypt by writing in Spiral?

To encrypt a message by spiral writing, imagine a quadrangular spiral (written in a square). Then write the message by turning like a spiral/snail.

Example: Code SPIRALS99 via an inner spiral from the top left, clockwise direction:

 S P I 9 9 R S L A

Example: Code CYCLONIC! via an outer spiral from below, trigonometric rotation:

 I N O C C L ! Y C

If the spiral does not end exactly, it is possible to add any character, like X (avoid spaces because invisible).

The final encrypted message is generally constituted by a reading in rows or columns of the grid obtained.

Example: The ciphertext is S9SP9LIRA (example 1) or IC!NCYOLC (example 2)

### How to decrypt a spiral written cipher?

Decryption is writing the message in rows or in columns and reading the text in a spiral. It is necessary to know the mode of writing (inward or outward, trigonometric direction or clockwise, etc.)

Example: RNOOSITAT written in rows in a square grid becomes

 R N O O S I T A T

a spiral reading gives the plain message ROTATIONS.

### How to recognize Spiral ciphertext?

Since spiral encryption is a transposition cipher, the coincidence index of the text is the same of the original plain message language.

Sometimes a word or text is formed on one or all of the lines created, the word can be written backwards.

Ideally the encrypted message has a number of square characters (whose square root is an integer: 9, 16, 25, 36 etc.)

Any reference to a vortex, cyclone, spiral, or anything rotating is a clue.

### What are the variants of the Spiral cipher?

The variants of the spiral writing reside in the text writing (internal or external spiral) and direction (clockwise or counterclockwise spiral), but also in reading the text (line, column or even starting from the end)

It also possible to use another pattern than a spiral, see route cipher.

## Source code

dCode retains ownership of the "Spiral Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Spiral Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Spiral 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 "Spiral Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

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

## Need Help ?

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