I'm playing with the El Gamal cryptosystem, and my goal is to be able to encipher and decipher long sequences of text.
El Gamal requires the plaintext to be an integer. ...
i converted a string to BigInteger as follows:
Scanner sc=new Scanner(System.in);
System.out.println("enter the message");
Is it possible to encrypt/decrypt a string using AES with a BigInteger (given one, not a randomly generated number) as a key in Java?