Hello,
I want to convert a plain text string to binary data so that the readable text is no longer visible, however certain programs can interpret the binary data properly.
Something like when we compile a program into a class, the code is no longer readable, but JVM can still read it.
I'm not making a compiler of some kind, just need to convert text to binary data, then write this data to a file.
Please tell me how to do this.
Thanks
erms
0
Newbie Poster
Recommended Answers
Jump to Postyou might be talking about data encryption. There are so many encryption algorithms.. Choose any one encryption algorithm and encrypt the data.
Jump to Postrubberman: don't forget that Java chars are Unicode, 16 bits per char, four hex digits not two.
All 7 Replies
harinath_2007
56
Posting Whiz
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
erms
0
Newbie Poster
bguild
163
Posting Whiz
erms
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.