Why don't you try my ICS based code at: http://www.fastream.com/md5extractor.php
Best Regards, SubZero On Wed, Jun 24, 2009 at 9:02 PM, Rob Cameron <[email protected]> wrote: > I wrote a program (in Delphi 7) and have been using it for ages to encrypt > then decrypt an executable file, then compare the hash of the decrypted file > with the original. Specifically: > > Compute the hash of a file, save it. Let's call it "OldHash" > Encrypt the file in place > Decrypt the file in place > Compute the hash of the file, let's call it "NewHash" > Compare OldHash and NewHash. > > In XP (SP3 now, but all SPs AFAIK): OldHash = NewHash. > In Vista: OldHash <> NewHash. > > In both cases the decrypted file appears to be in good order - i.e. it > executes OK and shows no practial differences. > > To make the comparisons, I have prepared a folder which contains only the > Launcher (which does the encrypt/decrypt) the target exe file and a couple > of files which are needed for the exe to run (they are, in fact untouched in > these tests). Then I copy this folder from a machine running XP to a machine > running Vista Business and get different results. > > Any ideas? > > Many thanks, > > Rob > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk > __________________________________________________ Delphi-Talk mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
