home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12776 next >
Encoding:
Internet Message Format  |  1992-08-23  |  2.0 KB

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