converting RSA encrypted byte array to String and back to byte array gives
843811May 30 2005 — edited May 30 2005hi friends
after encryption using any algorythm i get a byte array . i then convert this byte array to string by passing to simple String constrauctor . String abc = new String(byte[] array) ... Then when i extract the bytes again from that String using getBytes() funtion , i get different sets of bytes .. and i am not able to decrypt it....
my project requires me to send a string across after encryption so i cant even send the original byte[] array directly to decryption which otherwise works fine..
so please help me on how to convery byte[] array to String and then get back the byte[] array bck from string