elgamal_encrypt was not included properly in client and server side