# Hardware Hash Generator

6 replies to this topic

### #1 McGod

McGod

Formerly Chip

• Active Members
• 589 posts

Posted 03 June 2007 - 11:37 PM

This requires a UDF and a .dll (Compinfo and MD5Hash.dll).
This generates a hash that is unique to each computer, good for if you want to release your program to certain people without it getting leaked.

_GenHHash ()
Generates a hash of your computer info.

_CompareHHash($hash) Compares a hash against your own. Example.au3 254bytes 796 downloads HHash.au3 1.7K 869 downloads You can use it to compare the hash against a list of your own using TCP functions etc.. Formerly Chip ~UDFs~ ~Programs~ SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example ### #2 luzif3r luzif3r Seeker • Active Members • 39 posts Posted 11 February 2008 - 02:46 PM I noticed nobody replied yet and want to thank you for this great function. ### #3 newbiescripter newbiescripter Universalist • Active Members • 270 posts Posted 15 February 2008 - 11:42 PM Hello Chip Thanks for this great Hash Generator It works, but when I try run it from scite it gives me this error: >"C:\Programmer\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Documents and Settings\FARCRY\Skrivebord\Log læsning RNG\Udvikling\HASH computer ID\Kopi af Example.au3" /autoit3dir "C:\Programmer\AutoIt3\beta" /UserParams +>00:41:40 Starting AutoIt3Wrapper v.1.9.5.6 Environment(Language:0406 Keyboard:00000406 OS:WIN_XP/Service Pack 2 CPU:X86) >Running AU3Check (1.54.13.0) from:C:\Programmer\AutoIt3\beta C:\Documents and Settings\FARCRY\Skrivebord\Log læsning RNG\Udvikling\HASH computer ID\HHash.au3(23,37) : ERROR: MD5Hash(): undefined function. Local$ret = MD5Hash ($Str, 2, True) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\FARCRY\Skrivebord\Log læsning RNG\Udvikling\HASH computer ID\Kopi af Example.au3 - 1 error(s), 0 warning(s) !>00:41:40 AU3Check ended.rc:2 >Exit code: 0 Time: 2.526 When I press continue anyway it works fine, but how do I get rid of this little error ? I guess it's something about the$ret as the error says, but I can't se how to define the function?
Can you help me with that?

is it because I'm using the new beta of AutoIt ?

Regards

### #4 Uten

Uten

stupid is as stupid does..

• Active Members
• 1,987 posts

Posted 16 February 2008 - 12:34 AM

Just a hunch. MD5Hash() is probably a function, in the hash dll, using AutoIt's plugin interface.
Use #AutoIt3Wraper_PlugIn_Funcs= MD5Hash() At the top of the script file. (Could be slightly different syntax, used to be #Compiler_PlugIn_Funcs. I don't have the latest Scite4Autoit3 installed. The syntax is in the help file for the SciTe installation).

Hope this helps..

### #5 newbiescripter

newbiescripter

Universalist

• Active Members
• 270 posts

Posted 16 February 2008 - 12:46 AM

Thanks you were right I added:
#AutoIt3Wrapper_PlugIn_Funcs = MD5Hash

In the top of the HHash.au3 and it works

### #6 Chika95

Chika95

Wayfarer

• Active Members
• 57 posts

Posted 16 May 2008 - 10:48 AM

Thanks so much, this is exactly what I am looking for!

### #7 vaughner

vaughner

Seeker

• Active Members
• 13 posts

Posted 29 May 2009 - 03:08 PM

Its been dead for awhile, but thanks for the script. Just what I was looking for.
Please click me if you have a minute! Thanks!

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users