home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!overload.lbl.gov!lll-winken!taco!csemail.cropsci.ncsu.edu!samodena
- From: samodena@csemail.cropsci.ncsu.edu (S. A. Modena)
- Newsgroups: comp.lang.pascal
- Subject: Re: Scramble text files
- Message-ID: <1993Jan5.082329.13550@ncsu.edu>
- Date: 5 Jan 93 08:23:29 GMT
- References: <726193861.AA01015@contrast.wlink.nl>
- Sender: news@ncsu.edu (USENET News System)
- Organization: Crop Science Dept., NCSU, Raleigh, NC 27695-7620
- Lines: 33
-
- In article <726193861.AA01015@contrast.wlink.nl> berend@contrast.wlink.nl (Berend de Boer) writes:
- >Christian wrote in a message to All:
- >
- > C> Can anyone point me to some code that will scramble a text
- > C> file? It could something that woudl do it on the fly (my
- > C> program is creating the text to be appended to said file),
- > C> or something I can churn the text file through later on.
- > C> This doesn't hafta be fancy (DES etc. would be overkill,) I
- > C> only need to keep the average user from using a text editor
- > C> to view/modify this file.
- >
- >Just change the low and high order bytes?
- >
- >Berend. (-:
-
- Or XOR it by the file's name. This "encodes" it going in...and of course,
- XOR the scrambled file with the file name to recover it. XOR is fast,
- and it's a cinch that you know the file name (i.e. the XOR "key") going
- in and coming out. :^)
-
- Steve
- ---
- +------------------------------------------------------------------+
- | In person: Steve Modena AB4EL |
- | On phone: (919) 515-5328 |
- | At e-mail: nmodena@unity.ncsu.edu |
- | samodena@csemail.cropsci.ncsu.edu |
- | [ either email address is read each day ] |
- | By snail: Crop Sci Dept, Box 7620, NCSU, Raleigh, NC 27695 |
- +------------------------------------------------------------------+
- Lighten UP! It's just a computer doing that to you. (c)
- OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
-
-