Skip to content

Latest commit

 

History

History

caesar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Caesar cipher

This program encrypts a plain text message using Caesar's cipher.

Usage

The program takes in 1 command-line argument, an integer, as the cipher key. The plain text message input will be requested after the program is run.

Usage examples

$ ./caesar 13
plaintext:  HELLO
ciphertext: URYYB
$ ./caesar 13
plaintext:  be sure to drink your Ovaltine
ciphertext: or fher gb qevax lbhe Binygvar