A.4.15.2 Caesar Says Shift

1. Now it’s your turn to write a secret code! a. Write a short and friendly message with a few words. b. Encode your message by shifting each letter 1 backwards in the alphabet, wrapping around from Z to A. Use this table as a key for your cipher.

2. Suppose the variables m & c each represent the position number of a letter in the alphabet, but the variable m represents the letters in the original message and the variable c the letters in your secret code. a. Complete the table below.

b. Use m & c to write an equation that can be used to encode an original message into your secret code. c. Use m & c write an equation that can be used to decode your secret code into the original message.

If the rule for encoding is a function, then the rule for decoding is its inverse function. Two functions are inverses to each other if their input-output pairs are reversed, so that if one functions takes as its input and gives as an output, then the other function takes as its input and gives as an output.