+ 9

[ ASSIGNMENT ] Caesar Cipher

Make a program that takes some "text" and a "key" as input and decrypts the text according to Caesar Cipher. Understanding Caesar Cipher-> Each character in the original text is shifted n-terms backwards. n is the Key. Example.. ABCDEF-> Ciphered text : XYZABC if the key is 3. A shifts 3 places backwards to X, B to C and so on. More info-> https://en.wikipedia.org/wiki/Caesar_cipher All languages are welcome ! My Solution :: https://code.sololearn.com/crFd1ibQnAI3/?ref=app

8th Apr 2018, 7:04 AM
Aaron Stone
Aaron Stone - avatar
24 odpowiedzi
+ 4
https://code.sololearn.com/cmMBOA739V6B/?ref=app
8th Apr 2018, 9:54 AM
Louis
Louis - avatar
8th Apr 2018, 2:57 PM
Paul
Paul - avatar
+ 3
Due to the fact that this cipher is symmetrical, it is possible to use the same function for encryption and decryption. My Python solution which can solve the task not only for English but any other specified in advance alphabet is here: https://code.sololearn.com/cs5jAI1sp8xQ/?ref=app In test section there is also an example of a brut-force hacking, when key is not known. Especially for @VcC (as for a big fun of this approach) I wrote a one-liner solution: https://code.sololearn.com/c1gJ0M9pLyZX/?ref=app
8th Apr 2018, 8:49 PM
Nevfy
+ 2
Here is a caesar code cracker..also includes an xor code cracker https://code.sololearn.com/cgZm0YxU3mov/?ref=app
8th Apr 2018, 8:09 AM
VcC
VcC - avatar
+ 2
https://code.sololearn.com/WBUK631nshqT/?ref=app
8th Apr 2018, 11:09 PM
Kustaa
23rd Jul 2018, 7:52 AM
VcC
VcC - avatar
+ 1
I wrote this a while ago It’s in python3 and it won’t run on SoloLearn since it doesn’t give permission to read or write on its server But feel free to try it on a windows. https://code.sololearn.com/c1gFe49o2n8S/?ref=app
8th Apr 2018, 7:51 AM
Flash
+ 1
@AaronS sure. But mine didn’t work when I tried it here
8th Apr 2018, 7:57 AM
Flash
+ 1
Cool @VcC
8th Apr 2018, 8:16 AM
Aaron Stone
Aaron Stone - avatar
+ 1
Also check this one working with more complex codes using basic english text stats https://code.sololearn.com/c7qc0rOjP2eW/?ref=app
8th Apr 2018, 8:38 AM
VcC
VcC - avatar
8th Apr 2018, 12:07 PM
Bishal Sarang
Bishal Sarang - avatar
+ 1
This was one of the first functions i wrote with Ruby. https://code.sololearn.com/c8aY3lQNKO3r It's long winded and there are probably a million ways to condense it, but i was pretty proud at the time.
11th Apr 2018, 12:03 PM
Thomas William Barker
Thomas William Barker - avatar
+ 1
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:16 PM
[A^dr3w]
[A^dr3w] - avatar
+ 1
Very Simplest Code in Java for Caesar Cipher👇👇 https://code.sololearn.com/czF9z9X8QsPd/?ref=app
15th Jul 2018, 12:50 PM
Karan Zala
+ 1
Hey Aaron Stone I've made this a while ago. in my version instead of taking backward steps it takes forward steps. https://code.sololearn.com/c0uMRM12sc7Q/?ref=app
22nd Jul 2018, 9:28 AM
Salman
Salman - avatar
0
@Aleksandar I have already done it ! I am not one of those to not do the assigned tasks myself. I am posting my solution.
8th Apr 2018, 7:18 AM
Aaron Stone
Aaron Stone - avatar
0
Posted.
8th Apr 2018, 7:22 AM
Aaron Stone
Aaron Stone - avatar
0
Okay @Flash.. I'll try it there.
8th Apr 2018, 7:52 AM
Aaron Stone
Aaron Stone - avatar
0
Aleksandar Stevanovic I think it is nice to have problems to solve. If they are not the usual "print pattern x or reverse a string" kind of problems...
8th Apr 2018, 8:41 AM
VcC
VcC - avatar