P
peeushonline
During a project dealing with encryption and decryption in password
based encryption, I'm facing a problem while reading a Byte array.
When the size of the string input during the encryption is small then
both the decryption and the string shown are correct but when the
string is large it shows error.
byte[] textTranslated = pbeCipher.doFinal(textInBytes);
return new String(textTranslated);
by using this code i'm not getting the full string when its large.
So tell me how to convert a byte array to string and read
successfully.
Pls Help. Thanx in advance.
based encryption, I'm facing a problem while reading a Byte array.
When the size of the string input during the encryption is small then
both the decryption and the string shown are correct but when the
string is large it shows error.
byte[] textTranslated = pbeCipher.doFinal(textInBytes);
return new String(textTranslated);
by using this code i'm not getting the full string when its large.
So tell me how to convert a byte array to string and read
successfully.
Pls Help. Thanx in advance.