/* This file provides an interface for library Ciphers.

   Names defined:
      CaesarCipher(), encodes/decodes using Caesar cipher
------------------------------------------------------------------*/

#include "Strings.h"

/*-----------------------------------------------------------------
   This function encodes/decodes a character string with the Caesar
   cipher, assuming ASCII codes for character representation.   It
   uses the function isprint() from <ctype.h> to determine if a
   character is an ASCII printable character.

   Receive: A, a character array
            k, an integer, assumed to be in the range -94 to 94
   Return:  A, with each char changed to the char k positions away
------------------------------------------------------------------*/

void CaesarCipher(Strings& A, int k);

