Search for a tool
Route/Path Cipher

Tool to write text as a route. Route cipher is a transposition cipher method which consists in reading letters in a text according to a predefined route/path, as a serpentine road.

Results

Route/Path Cipher -

Tag(s) : Transposition 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 'Route/Path Cipher' tool for free! Thank you!

Route/Path Cipher

Route Cipher Decoder

 



 
See also: Spiral Cipher

Route Cipher Encoder

 






















Answers to Questions (FAQ)

What is a route cipher? (Definition)

Route cipher is a way of writing a message using a transposition cipher. The idea is not to write the letters from left to right and top to bottom, like normal writing, but rather to follow a predefined path, like a serpentine in a grid, or in a zig zag way.

How to encrypt using route cipher cipher?

Path-write encryption consists of writing the text in a grid/matrix and reading it using a road/path usually in switchbacks/coils/zigzags.

Example: The text DCODEROUTE, written horizontally on a 4x3 grid reads as a serpentine column DETERCOO..UD

D↓C↱O⮧D↑
E↓R↑O↓U↑
T↳E⮥.↳.⮥

If the message does not fill the grid, add a character like . to end the column/row.

How to decrypt a route cipher?

Decryption requires knowing the path (or at least the size of the grid) in order to write the letters of the message.

Example: The encrypted text PIN-AFD-THER on a grid of height 3 is written as

PIN-
AFD-
THER

Column reading according to the path 7128 returns the original text.

Example: The grid path reading returns PATHFINDER

How to recognize route cipher text?

The message has a coincidence index similar to that of the plain language because it is a transposition.

The number of characters is a multiple of the width and height of the grid (and therefore can not be a prime number).

How to decipher route cipher without the route?

The best method is to try different sizes and try to see if the beginning of the message is readable. dCode allows testing multiple possibilities automatically in order to detect the most probable.

What are the variants of the route cipher?

On a grid of a given size, it is possible to write the text in the path of at least 8 (classical) ways (there are 2 possible directions for each of the 4 corners). Then reading can be a path too.

It is possible to imagine any type of path for letters, such as a spiral script. Another variant is Caesar box cipher.

Source code

dCode retains ownership of the "Route/Path Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Route/Path Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Route/Path 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 "Route/Path 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 "Route/Path 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):
Route/Path Cipher on dCode.fr [online website], retrieved on 2024-12-02, https://www.dcode.fr/route-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 'Route/Path Cipher' tool for free! Thank you!


https://www.dcode.fr/route-cipher
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback