+ 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
5 Réponses
+ 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.
+ 2
mohammed shibli Take a look at this: https://code.sololearn.com/cXAYFtX3kDE3/?ref=app
+ 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. 🙏
+ 1
give your text as argument
it's simple
https://code.sololearn.com/cT7RWDAu83lp/?ref=app