How to create MD5 Checksum Checker?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MasterchiefJB
Posts: 76
Joined: Sat Nov 07, 2009 7:43 pm

How to create MD5 Checksum Checker?

Post by MasterchiefJB » Thu Apr 08, 2010 5:45 pm

Hi again,

this time I am completly lost. I would like my application to check the MD5 Sum of an executable after it was downloaded and compare it with the checksum of the server. Generally I would like to know wheter this is possible within revolution with or without an external and how to archive that.

Cheers!

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: How to create MD5 Checksum Checker?

Post by Mark » Thu Apr 08, 2010 11:45 pm

Dear MasterchiefJB,

If your executable isn't too big, you can use the md5digest function without any special tricks.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: How to create MD5 Checksum Checker?

Post by RRobert » Fri Apr 09, 2010 1:19 am

Or you could call openssl md5 [filename] using shell which should be avail. by default on Mac OS X and Linux.

PS: OpenSSL (Win32)

Robert

Post Reply