A bit of binary I/O

Heinz billgates at microsoft.com
Sat Jan 20 16:42:05 PST 2007


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.


More information about the Digitalmars-d-learn mailing list