ElGamal decryption
Equals logic shortened