January 21, 2007 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.
|
Copyright © 1999-2021 by the D Language Foundation