CheckSum

Camm29 Camm29 at tesco.net
Mon Jun 19 14:23:05 EDT 2006


It's works okay , but how can i see the md5Digest sting as a number or hex
?

Regards
----- Original Message -----
From: "Mark Smith" <mark at maseurope.net>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Saturday, June 17, 2006 12:07 PM
Subject: Re: CheckSum


> I think that when the executable starts up, it's loaded into memory
> leaving the executable file on disk unchanged, and you can then do
> something like:
>
> put the fileName of this stack into tFileName
> put the md5Digest of URL ("file:" & tFileName) into curDigest
>
> and then compare curDigest to a stored version.
>
> This is not tested!
> There are probably 'bootstrapping' issues (if you want to store your
> 'correct' md5Digest in the executable itself) and I can see that
> there might be issues if you've saved your standalone with substacks
> in separate files etc...
>
> Best,
>
> Mark
>
> On 17 Jun 2006, at 11:53, Mark Schonewille wrote:
>
> > Hi Camm29,
> >
> > I don't know what whill happen if you try to read the executable
> > while it is running already, but you can try calculating the
> > md5digest each time when the application starts up.
> >
> > Best,
> >
> > Mark
> >
> > --
> >
> > Economy-x-Talk
> > Consultancy and Software Engineering
> > http://economy-x-talk.com
> > http://www.salery.biz
> >
> > Download ErrorLib at http://economy-x-talk.com/developers.html and
> > get full control of error handling in Revolution.
> >
> >
> >
> > Op 17-jun-2006, om 12:50 heeft Camm29 het volgende geschreven:
> >
> >> Is there a way to protect Application.exe using some sort of
> >> Checksum to prevent any changes ?
> >>
> >> Regards
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.0.394 / Virus Database: 268.9.0/368 - Release Date: 16/06/2006
>
>




More information about the use-livecode mailing list