elgamal: working makeKey