Click here to Skip to main content
16,001,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How encrypt works by taking a string (plaintext) and a key as input. Each letter in the input string is substituted by a letter x places down the alphabet to produce the output string (cipher text). x is represented by the key.
How decryption is the reverse of encryption. so,it works by talking a string (cipher text) and a key as input. This time each letter is substituted by a letter x places up the alphabet to produce the output string (plaintext). please quick response God bless.
Posted
Updated 24-May-13 21:40pm
v2
Comments
OriginalGriff 25-May-13 3:27am    
And your question is?
All you seem to have done is explain what you have to do for your homework, not what you are having a problem with.
What help do you need?
Olatunji Amoo 25-May-13 3:51am    
Am required as follows
1. When the program starts, the user is presented with a menu for the user to choose whether he wants to encrypt,decrypt or perform frequency analysis on some text (string).
2. For the frequency analysis, a not require to break the caesar cipher but just show the frequency of each alphabet in the input text i.e, number of times each alphabet occurs.
3. You are free to write your own logic to deal with punctuation characters. You may ignore them or encrypt them as well.
4. free to write logic to deal with uppercase or lowercase characters.
5. include a menu to display assumptions you made when implementing this program.
Thanks i think this explain my need?
Olatunji Amoo 25-May-13 4:13am    
i can't see the solution

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900