I am playing with El Jamal crypto system, and my goal is to be able to understand and understand long sequences of text.
Al Jamal requires plain text to be an integer. I changed my string to a byte using the .getBytes () method for the string, and then created a bigteger out of the byte [] After encryption / decryption, I asked BigInteger for BigIntegers. Using a two-bitayer () method, I convert a byte to [], and then make a new string object from byte [].
I have a 1035 bit key, and it works perfectly when I decipher 129 characters with a string.
Can anyone suggest solving this issue? Like in "RSA", you can not encrypt larger value than the modulus in ElGamal.
Comments
Post a Comment