home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!usenet.ins.cwru.edu!eagle!bert.lerc.nasa.gov!tostan
- From: tostan@bert.lerc.nasa.gov (Stan Mohler)
- Newsgroups: comp.lang.c++
- Subject: ENCRYPTION OF DATA FILE ACCESSED BY MY C++ PROGRAM
- Message-ID: <1992Aug23.165130.15650@eagle.lerc.nasa.gov>
- Date: 23 Aug 92 16:51:30 GMT
- Sender: news@eagle.lerc.nasa.gov
- Organization: NASA Lewis Research Center [Cleveland, Ohio]
- Lines: 29
- Nntp-Posting-Host: bert.lerc.nasa.gov
-
-
- Hello Turbo C++ programmers. I'm just learning C/C++, teaching myself on my
- PC with Turbo C++. I want to write a program that reads a big data file,
- which I plan to create, and uses the info. The data file will be very large,
- and will be contained on the disk with the program.
-
- But: when I sell this program, I don't want the buyer to be able to access
- the accompanying data file's information EXCEPT through MY PROGRAM.
-
- It will take alot of effort to create this file.
- I want some way of encrypting it so that my C++ program can read it, decrypt
- the sentences in there, and display them in plain English. Any ideas on
- how to do this? I though of making up my own "ascii codes", and storing the
- characters as binary numbers decipherable by my own inveted table. But I
- think that might be too easy to decrypt. Any thoughts? Thanks. Note: I
- would also like to store images in some manner that no other program will be
- able to recreate the images but mine. Any thoughts on that, too?
-
- NOTE: OBVIOUSLY it will be possible for SOMEONE to decrypt the file. Please
- don't waste my time telling me not the bother! My objective is the MINIMIZE
- the ease of decryption, not make it impossible.
-
- --
-
- -----------------------------------------------------------------------------
- Stan Mohler | phone: 216-826-6629
- NASA Lewis Research Center |
- Cleveland, Ohio 44135 | email: tostan@bert.lerc.nasa.gov
- -----------------------------------------------------------------------------
-