From klaus at mail.lds.loral.com Fri Jul 30 05:24:45 1993 From: klaus at mail.lds.loral.com (Christopher Klaus) Date: Fri, 30 Jul 93 05:24:45 PDT Subject: best way to check for modification of self Message-ID: <9307301223.AA15123@mail.lds.loral.com> I am looking for C src or algorithms that would be useful for a program to check its own integrity and make sure it hasnt been modified. Looking at the filesize of the file would not help, since I want to make sure no one has modified just some text, etc. I would like the algorithm or code to be rather quick in doing the check in the initialization of the program. Would finding the src to CRC or sum and adding that into the program be the best solution? Has anyone else dealt with this? -- Christopher Klaus klaus at mail.lds.loral.com cklaus at hotsun.nersc.gov