Skip to content

hcgatewood/c-caesar-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C Recap Workshop

Solution to a quick review of basic C concepts. See here for the starter code.

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!

Decoded message

The decoded message is elon musk cannot dunk.

About

Solution to the 6.179 workshop on 1/20/17

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published