Encrypt

How do i make a c++ program that takes the letters in an input and reads them separately to encrypt them by giving them all values how do i then make it so that value gets multiplied by a key and then made into binary
i would use a string to get the user input, make it an array, then call your encryption function
or
use a getch() in a while loop and encrypt each letter that way and add it into an array later

***this might not be the best way but it should work***
Topic archived. No new replies allowed.