I use encrypt(byte) code for input String
and then save encrypt(String) in DB.
I get String
encrypt from DB to decrypt it, but I need to cast String
to byte
without changing because decrypt get just byte.
I used s.getBytes();
but it changed it,
I need some code to cast string to byte without changing the String. Thank you so much.
0 comments:
Post a Comment