Elgamal & RSA encryption in Java