# ¶Transposition Cipher

## ¶Input

## ¶Results

## ¶About The Transposition Cipher

A transposition cipher is a method of encoding and decoding a string where letters are shifted a set number of places in the alphabet. For example, in the famous Caesar Cipher all letters are shifted 3 to the right to encode and 3 to the left to decode. This transpositional cipher decoder takes that a step farther and lets you choose how many letters to shift. You can choose any number between -20 and 20. Anything positive is encoding and anything negative is decoding. For example a string encoded using a shift of `5`

can be decoded with a shift of `-5`

. Using a shift of 0 will just give you the same string back.

## ¶About this Transposition Cipher Decoder

A couple of notes on how this particular decoder works.

First, it keeps lower cased letters lower cased and upper cased letters upper cased. Anything other than a letter is kept as is. So a shifted `!`

will stay `!`

no matter what shift value you use.

And if the shift takes a letter past the end of the alphabet, it wraps around to the beginning. So a shift of 7 on `X`

will give you `E`

. Negative shifts work the same way if they take a letter past the beginning of the alphabet. So a shift of -7 on `E`

will give you `X`

.