A bit of binary I/O

janderson askme at me.com
Sat Jan 20 16:26:59 PST 2007


Heinz wrote:
> Jarrett Billingsley Wrote:
> 
> 
> Another question: Writting a type char[] with write() writes string as ASCII? if so then is a legible string, how can i protect that data?
> 
> Thanks man

You have to use some form of encryption.  XOR encryption is one of the 
simplest, although not the most secure.  Here's a C doc about it 
http://www.cprogramming.com/tutorial/xor.html.

Maybe there's already an encryption library in D?

-Joel


More information about the Digitalmars-d-learn mailing list