Click here to Skip to main content
15,997,597 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i make c++ program to input some plain text and implement a type of encryption algorithms input the parameters of the Implemented algorithm such as the Key, Length of the key etc.display the encrypted text (cipher text)and input some encrypted text (cipher text)to decrypt the text and input the parameters of the implemented algorithm
Posted
Updated 29-Nov-13 0:26am
v2

The same way you do any project: define exactly what you want to do (input method, encryption algorithm, output method and so on) and then design you code around that.
Then implement the design, test and loop back to either the design or implementation stages until it passes.

But we will not do it for you.
It is your homework, after all, not ours.
 
Share this answer
 
You have several options (hardest to easiest):
  • Invent and code the algorithm.
  • Implement an existing algorithm.
  • Get the source code of an existing implementation (there are several available), and use it according to your needs.
  • Use an existing library providing encryption/decryption facilities.


The choice is up to you (and Google is your friend).
 
Share this answer
 
v2
Comments
Stefan_Lang 29-Nov-13 8:32am    
"and Google is your friend"
... the kind of friend who checks out your wifes underwear when you're not looking

Just saying ;-p

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