preparation of elgamal