🏆🏆CHALLENGE🏆🏆 Caesar Cipher | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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"

21st Jan 2018, 9:52 PM
Gadrion
Gadrion - avatar
11 Answers
+ 6
here it is 17 years old red coding lover : https://code.sololearn.com/cgZm0YxU3mov/?ref=app
21st Jan 2018, 10:30 PM
VcC
VcC - avatar
+ 15
There are 26 letters in the American alphabet, also it may be good to explain what the Caesar cipher actually does ^^
21st Jan 2018, 10:13 PM
Dapper Mink
Dapper Mink - avatar
22nd Jan 2018, 12:49 PM
Aayush Bhansali
Aayush Bhansali - avatar
21st Jan 2018, 10:33 PM
VcC
VcC - avatar
+ 6
i meant : the challenge is precisemy about finding a way to break this code :-)
21st Jan 2018, 10:46 PM
VcC
VcC - avatar
+ 5
make an example
21st Jan 2018, 10:03 PM
Android Boi
Android Boi - avatar
+ 5
@VcC My bad, I was more about the title than anything. Just added it in the probably most lazy way possible.
21st Jan 2018, 10:53 PM
Shadow
Shadow - avatar
28th Jan 2018, 4:16 AM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 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...
21st Jan 2018, 10:34 PM
Shadow
Shadow - avatar
+ 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.
21st Jan 2018, 10:43 PM
Shadow
Shadow - avatar
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
13th Jul 2018, 8:18 PM
[A^dr3w]
[A^dr3w] - avatar