Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

string to byte array to int - Also reversing of this

843789Mar 11 2010 — edited Mar 15 2010
hi,
I'd like to convert a string to a byte array and from that byte array to integers. Also the reversing of these operations.

I don't want parseInt. Actually what I'm trying to do is to convert a String of alphanumerics into integers and modify those integers and then convert back to strings. This is like encryption. I get byte array from strings and convert it into integers.

Is this the right approach. Pls suggest a solution.
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2010
Added on Mar 11 2010
14 comments
195 views