cryptography « biginteger « Java Data Type Q&A





1. Why doesn't my implementation of ElGamal work for long text strings?    stackoverflow.com

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. ...

2. how to convert BigInteger to String in java    stackoverflow.com

i converted a string to BigInteger as follows:

 Scanner sc=new Scanner(System.in);
      System.out.println("enter the message");
      String msg=sc.next();
      ...

3. Java AES Encryption/Decryption using a BigInteger as a key    stackoverflow.com

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?