Skip to main content
Challenges Signature reveals message
Cryptography Easy RSA — signature error Solves: 5

Signature reveals message

Author: CyberSamSU
Points
20

In an RSA digital signature, a message is signed in the form of s = m^d mod n, and verification is done with the public key: m = s^e mod n. A properly implemented system first hashes the message and puts it into a special format (padding) — therefore, the original message cannot be recovered from the signature.

However, a programmer signed a secret message directly, without a hash and without padding, and published the signature itself — saying "the signature is not a secret anyway". But the signature verification operation (s^e mod n) returns the original message!

Public key: e = 3,

n =

1219916551646648402841022626270894916974592426954394586895683125
2422999010608690470621720973251399281791716204468402071186435594
688160457529769160925505511

s (published signature) =

3728045505046384695378817146888851182119718766458507811588870212
2322944114030403908653095115430297256300687943460540416378126124
50420553892361435688741967

Recover the message — it is the flag. One operation is enough.

Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −2 pts Log in
Hint 2 −4 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 27.10.2026
3. Odam 06.11.2026
4. Doston Allayarov 12.11.2026
5. Abdinazarova 19.11.2026