/* cipher.txt documents the caesar library for Caesar cipher encryption. ----------------------------------------------------------------*/ /* caesarEncrypt() implements the Caesar cipher encoding scheme. Receive: ch, a character. key, the amount by which to rotate ch. Return: The character that is key positions after ch, with "wrap-around" to the beginning of the character sequence used for messages. ----------------------------------------------------------------*/ char caesarEncrypt(char ch, int key); /* caesarDecrypt() implements the Caesar cipher encoding scheme. Receive: ch, a character, key, an integer. Return: The character that is key positions before ch, with "wrap-around" to the end of the character sequence used for messages. ----------------------------------------------------------------*/ char caesarDecrypt(char ch, int key);