Search for a tool
ASCII Shift Cipher

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.

Results

ASCII Shift Cipher -

Tag(s) : Substitution 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!

Thanks to your feedback and relevant comments, dCode has developed the best 'ASCII Shift Cipher' tool, so feel free to write! Thank you!

# ASCII Shift Cipher

## ASCII Shift Decoder

 Results format ASCII (printable) characters Hexadecimal 00-7F-FF Decimal 0-127-255 Octal 000-177-377 Binary 00000000-11111111 Integer number

## ASCII Shift Encoder

 Results format ASCII (printable) characters Hexadecimal 00-7F-FF Decimal 0-127-255 Octal 000-177-377 Binary 00000000-11111111 Integer number

### How to encrypt using ASCII Shift cipher?

The ASCII table is composed of 128 characters, as for the Latin alphabet and the Caesar code, it is possible to shift 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 ASCII code $65 + 40 = 105$ or 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.

### How to decrypt ASCII Shift cipher?

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'

### How to recognize a ASCII Shift ciphertext?

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).

### How to decipher ASCII Shift without knowing the shift?

dCode allows you to test the 127 offsets and displays the most probable results automatically.

### What are the variants of the ASCII Shift cipher?

The shift ciphers are numerous, the most known is the Caesar cipher.

## Source code

dCode retains ownership of the online 'ASCII Shift Cipher' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'ASCII Shift Cipher' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'ASCII Shift Cipher' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'ASCII Shift Cipher' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

## Need Help ?

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