+ 2
How do I use c++ to make my own cypher?
I want to make a cypher to use with my friend but I want to know the best way to go about it because I am new to writing code. Any help would be appreciated and thank you in advance!
8 Answers
+ 8
@Mia Check out my code (Rail fence cipher) Only encryption part was coded though. If you want to know about rail fence just Google it. :D
+ 7
@Mia You may look into my codes on String Encryption/Decryption. The algorithm is of the simplest type, so you might want to borrow the idea but create a more complex algorithm.
+ 7
check this code once,
https://code.sololearn.com/c4273uXNh86f/?ref=app
+ 6
Actually , the cipher text would be looks like messy :D so that its called cipher text. and BTW yes you can encrypt twice a string but think of the decryption side too. @Mia
+ 3
Learn about cyphers like Caesar or RSA. Read about bit shifting operators. Once you learn that you can kinda mix your knowledge to create really good cypher ^^
+ 2
The cipher itself is not dependant on the programming language. Think about what you want to do. make an algorithm about it. Coding that will be simplier.
0
I have another question about the cypher. I have an idea on how to write it (going with strings) but can I make the code encrypt a message one way and then make it take the encryption and encrypt that one as well without it getting too messy?