Game Development Community

MD5 of SHA How to Create a Key Solution for my Game

by suddysud aka mrclean · in General Discussion · 08/29/2006 (9:28 pm) · 4 replies

Hi

I need to create some kind of key solution for my game.

Perhaps someone can help me with this.

Here's what I want it to do.
-------------------------------------------
1. When the user installs it, I want it to grab the mac address or something from the PC.
2. Create a unique md5 sum for that machine.
3. The user would send me the sum.
4. I would confirm that they paid and give them a matching md5sum to unlock the game.


Would anyone here happen to know how to implement something like that?
I'm doing it with C++.

If anyone could point me to some open source 'free' library to make and check the md5 sum that would be great.

And if someone could point me in the right direction on how to get C++ to get the hardware numbers that would be great .

It's my first year with C++

#1
08/29/2006 (9:34 pm)
There are distribution programs that can do this for you. As far as MD5, it is an easily crackable hash.
#2
08/29/2006 (9:45 pm)
Jon

Your response sounds great.

But could you point me in the right direction - like ~Where can I find a distribution program that would do this for me ? Do you have URL ?


Thanks
#3
08/29/2006 (10:04 pm)
There are a ton of them out there I would google license key generator or software key generator. The find the one that suits your needs.
#4
08/29/2006 (10:22 pm)
Lol, just because theres a way to fake an MD5 hash that doesn't involve brute force it doesn't mean that it's in any way easily crackable.

For a license key system, you may want to try something similar to PELock.