RE: Encryption for a log and Unicode Characters...? Yikes!
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Wed, 14 Dec 2005 23:12:16 -0000
RobKinney1 <RobKinney1@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Thank you for replying.
>
> We are looking for a simple way to "encrypt" text to a log file in real time
> that has very low overhead for the processor, yet still keeping the log files
> the same size.
There are various ways you can do that, but frankly it becomes easier
if you treat the data as binary - encode it (eg using Encoding.UTF8 or
Encoding.Unicode) and then do whatever simple "encryption" you want.
However, that way you will *not* get logs which are viewable in
notepad. Is that really an issue for you? I would have thought you only
wanted log files which, if sent to you, you can decode.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- References:
- RE: Encryption for a log and Unicode Characters...? Yikes!
- From: RobKinney1
- RE: Encryption for a log and Unicode Characters...? Yikes!
- Prev by Date: Re: msn messenger
- Next by Date: Re: Delegate question
- Previous by thread: RE: Encryption for a log and Unicode Characters...? Yikes!
- Next by thread: RE: Encryption for a log and Unicode Characters...? Yikes!
- Index(es):
Relevant Pages
|