Two Locks, One Order
easy · 100 XP · flag · free · solves: 5
Alice locked her message twice before sending it to Bob, once with a small custom block cipher and then again with a second layer wrapped around the first. Two locks felt twice as safe. Eve captured the result along with a few known pairs of plaintext and ciphertext. She knew something Alice had forgotten: stacking two locks does not always double the work needed to open them. If you can meet the two layers in the middle, the keys fall out one at a time. Can you open both locks in the right order?
a small custom 16-bit-block Feistel cipher (4 rounds, any reasonable S-box — doesn't need to be intentionally weak),
Tags: Cryptography
Try next
- A Centuries-Old Message (easy)
- The Board Nobody Read (easy)
- Trail of Ciphers (easy)