+ 6
🏆🏆CHALLENGE🏆🏆 Caesar Cipher
A cipher is a type of secret code, where you swap the letters around so that no-one can read your message. You’ll be using one of the oldest and most famous ciphers, the Caesar cipher, which is named after Julius Caesar. There are 26 letters in the American alphabet, each letter has a number A,B,C-1,2,3 Example: Encrypted message: 'ifmmp tpmpmfbso' Key: 1 Decrypted message: 'hello sololearn' Make a program to decode the following secret message: "R jv ANM jwm R uxen yaxpajvvrwp"
11 ответов
+ 6
here it is 17 years old red coding lover : https://code.sololearn.com/cgZm0YxU3mov/?ref=app
+ 15
There are 26 letters in the American alphabet, also it may be good to explain what the Caesar cipher actually does ^^
+ 6
Look at this one too
https://code.sololearn.com/c7qc0rOjP2eW/?ref=app
+ 6
i meant : the challenge is precisemy about finding a way to break this code :-)
+ 5
make an example
+ 5
@VcC My bad, I was more about the title than anything. Just added it in the probably most lazy way possible.
+ 5
check at once,
https://code.sololearn.com/c4273uXNh86f/?ref=app
+ 4
I did this a while ago:
https://code.sololearn.com/cBWj5R5pZ3OJ/?ref=app
And by the way, if you give us a secret message, then you should also provide the key...
+ 4
@VcC I know how easily this can be broken, but typically both transmitter and receiver know about the key they use so you dont have to try all 25 possible keys. Its nice that you implemented it in yours, though.
0
Here is my Advanced Caesar Cipher in Java
full explanation and instructions in remarks at beginning of the code.
https://code.sololearn.com/cG9kNZwnHu04/?ref=app