Description: Decrypt this message.
Difficulty: Medium
Author: NSanjay C/Daniel Tunitis
Summary
This challenge introduces the concept of Caesar cipher.
Youβre given an encoded flag file named data.enc and need to decrypt it to reveal the hidden flag.
You can solve it using online tools like Caesar cipher decoder or by manually testing shifts.
Analysis
First we identify the file type:
$ file data.encdata.enc: ASCII textItβs plain ASCII text, so letβs open it. The file contains:
picoCTF{hwtxxnslymjwzgnhtswlvhsgdv}The flag clearly starts with the known prefix picoCTF{}, but the inner text hwtxxnslymjwzgnhtswlvhsgdv is encrypted.
This strongly suggests the Caesar cipher, a classic encryption method where each letter in the plaintext is shifted by a fixed number of positions in the alphabet.
What Is the Caesar Cipher?
The Caesar cipher is one of the oldest and simplest encryption techniques. It works by shifting each letter of the alphabet by a fixed number (called the key or offset).
For example, with a shift of 3:
- A β D
- B β E
- C β F
- β¦ and so on.
Decryption simply reverses this process by shifting in the opposite direction.
Now, letβs decode the ciphertext. Using a Caesar cipher decoder, I tried different shifts (0β25) until I found the one that gives readable text.
After testing a few offsets, we find that a shift of 5 correctly decrypts the message:
picoCTF{crossingtherubiconrgqcnbyq}β‘ Raikiriπ Flag pwned! The ciphertext has been decoded successfully.

π‘ TL;DR / Lesson LearnedThe Caesar cipher works by shifting letters by a fixed offset, a foundational concept in classical cryptography.
Itβs no longer used in modern security because it can be easily decoded, though it was once used in early military communications.