Instead of CBC, use ECB. And, of course, don't print out the byte array, print out the string. (And, again, don't use "new String(byte)".)
1. Could you please tell me how to switch from CBC to ECB?
I forgot to print out the string, not the byte array. I see what you are saying now. What should I use to convert it from byte array to string?