WeChall - Training - Crypto - Caesar I
Challenge
A standard Caesar cipher with random shift per session. The plaintext is: "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG OF CAESAR AND YOUR UNIQUE SOLUTION IS XXXXXXXX"
Solution
Brute force all 26 shifts and look for "YOUR UNIQUE SOLUTION" in the decoded text.
1 | ciphertext = "JXU GKYSA RHEMD VEN ZKCFI ELUH JXU BQPO TEW EV SQUIQH QDT OEKH KDYGKU IEBKJYED YI DFUWHHDUYVBF" |
The last word after "IS" is the per-session solution.
You can also use CyberChef to decode the ciphertext:
1 | ROT13_Brute_Force(true,true,false,100,0,true,'') |