🏆🏆CHALLENGE🏆🏆 Caesar Cipher | Sololearn: Learn to code for FREE!


🏆🏆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"

1/21/2018 9:52:47 PM


11 Answers

New Answer


here it is 17 years old red coding lover : https://code.sololearn.com/cgZm0YxU3mov/?ref=app


There are 26 letters in the American alphabet, also it may be good to explain what the Caesar cipher actually does ^^




Look at this one too https://code.sololearn.com/c7qc0rOjP2eW/?ref=app


i meant : the challenge is precisemy about finding a way to break this code :-)


make an example


@VcC My bad, I was more about the title than anything. Just added it in the probably most lazy way possible.


check at once, https://code.sololearn.com/c4273uXNh86f/?ref=app


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...


@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.


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