
"""
Demonstration text for program's output:


Do you wish to encrypt or decrypt a message?

encrypt

Enter your message:

The sky above the port was the color of television, tuned to a dead channel.

Enter the key number (1-26)

13

Your translated text is:

Gur fxl nobir gur cbeg jnf gur pbybe bs gryrivfvba, gharq gb n qrnq punaary.
"""



def main():

#TODO: make program cycle for correct input


en_de_crypt = raw_input('Do you wish to "encrypt" or "decrypt" a message?')
inputMessage = raw_input('Enter your message:')
keySize = raw_input('Enter the key number (1-26)')

print 'Your translated text is: " + value

def crypt(cryptInput):
	#returns boolean value, true if encrypt, false if decrypt

	if en_de_crypt is 'encrypt' or 'Encrypt':
		return True
	elif en_de_crypt is 'decrypt' or 'Decrypt':
		return False
	else:
		print 'Write either "encrypt" or "decrypt"'
		
if __name__ == '__main__': main()

@@ -40,17 +40,16 @@
 utput:%0A%0A
-%0A
 Do you w
@@ -88,18 +88,18 @@
 age?
-%0A%0A
+  
 encrypt%0A
 %0AEnt
@@ -94,17 +94,16 @@
 encrypt%0A
-%0A
 Enter yo
@@ -113,18 +113,18 @@
 message:
-%0A%0A
+  
 The sky 
@@ -192,17 +192,16 @@
 hannel.%0A
-%0A
 Enter th
@@ -223,14 +223,13 @@
 -26)
-%0A%0A
+  
 13%0A
-%0A
 Your
@@ -248,18 +248,18 @@
 text is:
-%0A%0A
+  
 Gur fxl 
@@ -392,17 +392,16 @@
  input%0A%0A
-%0A
 en_de_cr
@@ -818,16 +818,16 @@
 %0A%09else:%0A
-
 %09%09print 
@@ -863,16 +863,239 @@
 ecrypt%22'
+%0A%0Adef encryption(message, size):%0A%09#TODO: takes in message string and the key size, and runs caesar cipher%0A%0Adef decryption(ciphertext, size):%0A%09#TODO: takes in the ciphertext and key size, performs reverse caeasar cipher%0A%0A%09%0A%09
 %0A%09%09%0Aif _

Update Caesar.py