Assume that we have:
p = 89
g = 5
public key: 17
private key: 73
If we try to encrypt message M = 53 (M < p), then we get (c1, c2) == (55, 67) and further message decrypts well.
However, if we try to encrypt message M = 91 (M > p), then we get (c1, c2) == (44, 57) and further message decrypts failed (got "2" as the result).
There are 3 questions:
- Why does it happen?
- Is it possible to recover original message M if we know the fact that (m > p) used, p, g, public key and have (c1, c2)?
- Is it possible to recover original message M if we know the fact that (m > p) used, p, g, public key and have several encrypted messages (c1, c2)?