elgamal done