Enter a message to encipher and a shift between 1 and 25 inclusive.

Output will be shown here

Enter a cipher text to decipher and a shift between 1 and 25 inclusive.

Output will be shown here

Shift cipher.

Source:
Codes, ciphers, and secret writing. Chapter 2. Martin Gardner. 1972.