I am using RC4 to encrypt the data. It works fine. But I found that some encrypted values contains NULL character or other escape characters in result. Due to which when I read the string back to decrypt, does not give the whole string back but truncate the string.
Can any one help how can I verify if the whole string has any such characters or when decrypting I can avoid them?
Thanks in advance!!