caeser cipher breaker | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

caeser cipher breaker

how to break caeser cipher without known key? Lq Wkh Roghq Gdbv, Zdv Fdhvhu Flskhu Lv Wkh Plolwub Judgh Hqfubswlrq Dw Wkdw Wlph Qrergb Fdq Euhdn Lw Ru Vrphwlphv Qhhg Kxjh Wlphv Wr Euhdn Plqgv Rxw Exw.. Wkdw Vwrub Hqgv Qrz Dqg Brx Fdq Euhdn Lw Xqghu Rqh Frppdqg Vr Zh Qhhg Vrph Dfwlrqv Qrz Wr Pdnh Lw Dv Orqj Dv Hqrxjk Vr Uhdo Hyhq Zlwk Vorz Prwlrq Brx Fdq Euhdn Lw Lq D Soxqn Wlph Vr .. Zdlw!, L Kdyh Dqrwkhu Vwrub Iru Brx, Jhw Ulg Qrz Iurp Pdwula! https://code.sololearn.com/c0XJ6S7p8Vh1/?ref=app

18th Mar 2022, 4:17 PM
mohammed shibli
mohammed shibli - avatar
5 Answers
+ 2
Caeser cipher is case insensitive. Don't bother with upper and lower case characters. If you want to break the cipher, then the hard way is to print all 26 combinations and decide which one makes sense. The more efficient way is to look for some common words. Given that you know the language. For example. The most common words in English is "the", "be", "to", "of" and "and". If you find any of them in the decrypted message. You could assume that you have broken the cipher.
18th Mar 2022, 4:54 PM
Mustafa A
Mustafa A - avatar
18th Mar 2022, 5:27 PM
Mustafa A
Mustafa A - avatar
+ 2
Mustafa A you're right Caeser cipher is case insensitive but it was a challenge and you nailed it nicely, thank you for your cooperation. 🙏
18th Mar 2022, 10:06 PM
mohammed shibli
mohammed shibli - avatar
+ 1
give your text as argument it's simple https://code.sololearn.com/cT7RWDAu83lp/?ref=app
5th May 2022, 1:12 AM
Amir
Amir - avatar