Starter code for the 6.179 workshop on 1/20/17
C Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
caesar.c

README.md

C Recap Workshop

A quick review of basic C concepts. See here for solutions and the decoded message.

Caesar cipher

Today we'll be implementing a very simple Caesar cipher in caesar.c. A Caesar cipher is a simple encryption technique. See here for how it works.

A few notes:

  • The encoded message and your alphabet are included in caesar.c
  • Print every possible shift/rotation--since there are 26 letters in your alphabet, there will be 26 possible shifts
  • One of these shifts will be readable--if so, you're done!