I'm working on a project in Java. I used cipher to encode and decode. Cipher returns me a byte array. For some reasons I have to send this byte array in String Do you have any ideas on how can I get back the same byte array?
For example, if I had the String:
"[B@5024d44"
and I want to convert into byte[]
but I want the byte[]
to be equals to [B@5024d44
. Is it possible?
Thanks for your answers.