Home
Writeups Misc About
Endless Emails

Endless Emails

We are given multiple messages, but from the hint, some of the messages are repeated. Hence, it is likely some (if not all) of the messages will be the same. That is, there is a message m, moduli ni, and ciphertext ci such that:

i,cim3modni

Hence, we can employ Chinese Remainder Theorem in this case. This is also a simplified form of Hastad's broadcast attack. Since m<N for all modulo N, the result from the CRT is indeed the solution. We will take all triplets of the given ciphertexts and corresponding modulo since one of such triplets will contain the ciphertexts

Sage Implementation: