Tool to decode / encode characters via an offset in the ASCII table. Shift ciphering involves substituting one character for another later in the ASCII table.
ASCII Shift Cipher - dCode
Tag(s) : Substitution Cipher
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!
The shift cipher in the ASCII table is a shift cipher (therefore by substitution), which, as its name suggests, will use the ASCII table as an alphabet.
The ASCII table is composed of 128 characters, as for the Latin alphabet and the Caesar code, the ASCII shift cipher consists in shifting the characters of a rank N to obtain another character.
Encryption considers the ASCII alphabet to be cyclic (moving after the end of the alphabet returns to the beginning) and uses a N value called offset, ranging from 1 to 127 (negative numbers are possible, this amounts to an offset in the other direction).
Example: A (ASCII code 65) shifted by N = 40 becomes the code 105 (65 + 40 = 105) so i (ASCII code 105).
The ASCII code includes non-printable characters, which dCode prints ' ', use decimal or hexadecimal formats to avoid losing information on the display.
The decryption of an ASCII offset is identical to the encryption but with a shift in the other direction (the equivalent is an encryption with a negative offset).
Example: The encrypted message SeU[[qUaVW shifted from N = -18 decodes 'ASCII_CODE'
The message is composed only of ASCII characters.
Frequency analysis should emphasize groups of characters more often (those corresponding to the letters of the plain message).
dCode allows you to test the 127 offsets and displays the most probable results automatically.
The shift ciphers are numerous, the most known is the Caesar cipher, but ROT-47 is probably the closest to ASCII shift as it is limited to printable characters and is reversible.
dCode retains ownership of the "ASCII Shift Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "ASCII Shift Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "ASCII Shift 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 "ASCII Shift Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "ASCII Shift 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):
ASCII Shift Cipher on dCode.fr [online website], retrieved on 2024-11-05,