ElGamal encryption class.