www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: A bit of binary I/O

janderson Wrote:

 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

The base64 in phobos also could be useful.
Jan 20 2007