Jump to content


Photo

Md5 Checksum Dll (update 18.12.05)


  • This topic is locked This topic is locked
30 replies to this topic

#1 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 26 February 2005 - 12:52 AM

GM MD5 DLL
(updated 18.12.05)

Features:
- Get MD5 hash from file or string
- Benchmark the time taken to create MD5 from file
- Create random MD5 hash for whatever purpose


Changes:
- (18.12.05) MD5 dll works now with dll_cdecl and dll_stdcall and reduced dll size to ~12KB
- (9.9.05) Fixed stupid bug in GetStringMd5 function. Thanks to Tom DUTCH to pointing this out
- New MD5 sources (fix: correct for loop used to replace memset, exceeded bounds)
- Two new functions benchmark MD5 and random MD5
- Reduced dll size


Download: md5dll.zip (27 kb) includes source code and examples for GM 5.x & 6.x

Edit: I uploaded the dll in quicksharing.com

Edited by Smarty, 06 March 2008 - 10:16 AM.

  • 0

#2 tnsgod831

tnsgod831

    GMC Member

  • New Member
  • 132 posts

Posted 26 February 2005 - 02:10 AM

WOW! NICE! ILL USE THIS! GREAT WORK!
  • 0

#3 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 26 February 2005 - 10:50 AM

Thanks but it is litle hard to take credit from this since I haven't write the MD5 part of course. I use all ready created functions so everybody could write necessary the code for this dll. :)
  • 0

#4 PromaneX

PromaneX

    Fixer of broken web things

  • New Member
  • 489 posts

Posted 26 February 2005 - 11:39 AM

exelent. good job :) now communicating with PHP scripts is a viable option :skull:
  • 0

#5 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 05 June 2005 - 11:49 AM

GM MD5 DLL
New release

Check details of this release on the first post. <{POST_SNAPBACK}>
Download: md5dll.zip (40 kb)
includes source code and example for GM 5.x & 6.x

Edited by ckv, 13 October 2005 - 01:21 PM.

  • 0

#6 hsv88

hsv88

    GMC Member

  • New Member
  • 33 posts

Posted 06 September 2005 - 03:45 AM

this dll is awsome, theres no way i could make my MSN client with out this. Cheers ckv ;)
  • 0

#7 Tom DUTCH

Tom DUTCH

    Venom Booths

  • New Member
  • 199 posts

Posted 08 September 2005 - 07:12 PM

What a coincidence, I need it for something for MSN too ^^

There's just one problem:
The digest (output) is WRONG:
In PHP:
<?PHP
echo md5('apple');
?>
That code produces the output:
1f3870be274f6c49b3e31a0c6728957f (32 byte lower case hex, as it should)

In your example in GM:
apple
will produce something different:
a3233a3800f8cba9dd419d1997d27412

Please fix this! ;)
I really need this dll.

If the bug isn't in the old version, I can use that one too...if only I had it :lol:
  • 0

#8 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 09 September 2005 - 09:57 AM

GM MD5 DLL
9.9.05 patch

- Fixed stupid bug in GetStringMd5 function. Thanks to Tom DUTCH to pointing this out

Check details of this release on the first post. <{POST_SNAPBACK}>
Download: md5dll.zip (40 kb)
includes source code and example for GM 5.x & 6.x

Edited by ckv, 13 October 2005 - 01:21 PM.

  • 0

#9 ITakeGFXRequests

ITakeGFXRequests

    GMC Member

  • New Member
  • 230 posts

Posted 09 September 2005 - 02:58 PM

nice dll
  • 0

#10 Tom DUTCH

Tom DUTCH

    Venom Booths

  • New Member
  • 199 posts

Posted 09 September 2005 - 05:02 PM

Thank you very much for fixing this so quickly ::lmao::

EDIT:

I'm very sorry, but it seems you haven't uploaded the correct version.
The dll file date is the 5th of june.
The problem is still there either way...
Can you please fix this?

Edited by Tom DUTCH, 09 September 2005 - 05:08 PM.

  • 0

#11 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 09 September 2005 - 05:26 PM

@Tom DUTCH
What? I got the right version when I downloadet it. Maybe a caching problem, try to clear your temporary internet files or if you have proxy on try to disable it. Caches can be really irritating sometimes.
  • 0

#12 Tom DUTCH

Tom DUTCH

    Venom Booths

  • New Member
  • 199 posts

Posted 09 September 2005 - 05:34 PM

Found the new version after clearing my cache! Thanks!

EDIT: This version works, thanks again!

Edited by Tom DUTCH, 09 September 2005 - 05:37 PM.

  • 0

#13 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 18 December 2005 - 06:49 PM

GM MD5 DLL
18.12.05 update

MD5 dll works now with dll_cdecl and dll_stdcall and reduced dll size to ~12KB

Check more details on the first post. <{POST_SNAPBACK}>
Download: md5dll.zip (27 kb)
includes source code and examples for GM 5.x & 6.x

Edited by ckv, 18 December 2005 - 06:51 PM.

  • 0

#14 takua108

takua108

    GMC Member

  • GMC Member
  • 582 posts

Posted 19 December 2005 - 04:38 AM

Before I download, does this thing have any sort of filesize limit?

I plan on using this in the next release of GMupdate if not...
  • 0

#15 Chirantha

Chirantha

    GMC Member

  • New Member
  • 502 posts

Posted 19 December 2005 - 10:54 AM

There should be no file size limit. ;)

In PHP I was able to hash 3GB file
  • 0

#16 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 19 December 2005 - 08:05 PM

Before I download, does this thing have any sort of filesize limit?

I plan on using this in the next release of GMupdate if not...

<{POST_SNAPBACK}>

There's no file size limits. I have tested the plugin with ~1.5GB files without any problems.
And it's pretty fast with big files. I hashed 1.3GB file in ~27 seconds (~50MB in 1 second) with 2GHz 512MB RAM computer.

Edited by ckv, 19 December 2005 - 08:06 PM.

  • 0

#17 eagleclaw364

eagleclaw364

    GMC Member

  • New Member
  • 296 posts

Posted 19 December 2005 - 10:24 PM

Interesting. Could be useful for some programs that use an updater.

Edited by eagleclaw364, 19 December 2005 - 10:25 PM.

  • 0

#18 FredFredrickson

FredFredrickson

    Artist

  • Global Moderators
  • 9225 posts
  • Version:GM:Studio

Posted 19 December 2005 - 10:29 PM

It's a good thing to have, but it's also nice that some DLL's that deal with net stuff (like WinSock) have this built in. -_-
  • 0

#19 CHFD_113

CHFD_113

    GMC Member

  • GMC Member
  • 187 posts
  • Version:Unknown

Posted 19 March 2007 - 11:46 PM

Is this capable of Checksumming Files?
  • 0

#20 flea rowen

flea rowen

    GMC Member

  • New Member
  • 13 posts

Posted 23 August 2007 - 10:09 AM

can anyone re-upload this dll?? thanks....
  • 0

#21 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 24 August 2007 - 08:30 PM

Please.... someone....

I have great use for this.
  • 0

#22 Revel

Revel

    ɹǝqɯǝɯ ɔɯƃ

  • GMC Member
  • 4935 posts
  • Version:GM8

Posted 29 August 2007 - 05:23 PM

it cant read whole folders can it?
  • 0

#23 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 29 August 2007 - 09:00 PM

Not sure.... I just need it for one file at the moment....

Someone upload it please!
  • 0

#24 zedman1000

zedman1000

    GMC Member

  • New Member
  • 715 posts

Posted 07 September 2007 - 04:32 AM

Yes, someone upload!
  • 0

#25 tuntis

tuntis

    GMC Member

  • New Member
  • 1839 posts

Posted 07 September 2007 - 05:07 AM

Oh, somebody bumped a 2 year old topic, I was wondering why'd PromaneX be posting here
  • 0

#26 zedman1000

zedman1000

    GMC Member

  • New Member
  • 715 posts

Posted 07 September 2007 - 07:39 AM

And that helps us how?
  • 0

#27 tuntis

tuntis

    GMC Member

  • New Member
  • 1839 posts

Posted 07 September 2007 - 08:12 PM

And that helps us how?

<{POST_SNAPBACK}>

It helps everybody, because I'm *****ing about somebody bumping an old topic. :)

Somebody in this post mentioned that some other DLL's may contain functionality equivalent to this. Check them out.
  • 0

#28 programing dude

programing dude

    GMC Member

  • New Member
  • 20 posts

Posted 09 November 2007 - 07:52 PM

why use a dll if i can use a set off scripts?
i know it is faster but not much it might deffer 5msec or something :lol:
  • 0

#29 elperelol

elperelol

    GMC Member

  • New Member
  • 47 posts

Posted 30 January 2008 - 04:54 PM

why use a dll if i can use a set off scripts?
i know it is faster but not much it might deffer 5msec or something :)

<{POST_SNAPBACK}>

Really?? a script that creates a valid md5 checksum????
  • 0

#30 ckv

ckv

    GMC Member

  • GMC Member
  • 46 posts

Posted 01 February 2008 - 10:07 AM

Rithiur scripting god among men, made a functional MD5 gml script a while back.

http://rithiur.anthd.com/downloads.php
  • 0

#31 elperelol

elperelol

    GMC Member

  • New Member
  • 47 posts

Posted 01 February 2008 - 09:41 PM

Rithiur's gml is not so fast.. i've been waiting 5 minutes to get a md5 sum from a 2.5 mb file :wacko: i think its stuck
Also the gml is limited to 3.18 mb files.

Edited by elperelol, 01 February 2008 - 09:42 PM.

  • 0