Office Secrets

Problem

David and George have been sharing secrets in the office. They have been using RSA, but every time they send messages to each other they send the same message twice with different e&d pairs.

Theory

Since we know e1 and e2, we can crack the plaintext. The mathematical proof is below:

Reference: https://crypto.stackexchange.com/questions/1614/rsa-cracking-the-same-message-is-sent-to-two-different-people-problem

We can get a and b using the Extended Euclidean Algorithm.

Solution

Last updated

Was this helpful?