Caesar Cipher Lite
You recently read about the Caesar Cipher, one of the first and the easiest to break cryptographic algorithms known. Since it was very easy to break, you decided to improve it by building a lite version of it. Here is your modified algorithm. Suppose you want to encrypt a plaintext $P$ of length $N$. First, you generate a secret cryptographic key $K$ which is an array of length $N$. Then, for
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start