MD5 Encryption Extension
For Game Maker 8

MD5 Extension for Game Maker8.x

New Extension

Add MD5 Encryption to your GM game
Or application with the MD5 Extension.

Now you too can implement MD5 encryption
In your games using a single Action!

And it is free to download and easy to use.

MD5 is a one-way encryption algorithm widely used in the software world to provide some assurance that a transferred file has arrived intact and also to protect sensitive data such as passwords.

The MD5 Message-Digest Algorithm is a cryptographic hash function that produces a 128-bit (16-byte) hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check data integrity. MD5 was designed by Ron Rivest in 1991 to replace an earlier hash function, MD4. An MD5 hash is typically expressed as a 32-digit hexadecimal number.

There are several MD5 scripts which produce a 32-digit hash however due to procsission inactuacies they often fail to produce the same MD5 hash as other applications or MD5 functions. This can be important when sending and receiving to and from web-server application scripts for hash key validation.

Rest assured the MD5 Encryption Extension has been tested against several online MD5 generators.

"The quick brown fox jumps over the lazy dog"
MD5 Hash:

PHP5 users Note:
If no argument is passed the php md5() function will return an encrypted hex code representing the second it was called rather than the conventional empty string hash. This is a PHP specific issue.

Game Maker Extensions allow you to add functionality and using this extension allows you to encode sensitive data like passwords or license codes to thwart cheating or hack attempts.

And you can do it using GML or Drag and Drop actions!

NOTE: You must have Game Maker Pro Version 7 or greater to use Extensions

The MD5 Encryption Algorithm:

  MD5 processes a variable-length message into a fixed-length output of 128 bits. The input message is broken up into chunks of 512-bit blocks (sixteen 32-bit little endian integers); the message is padded so that its length is divisible by 512. The padding works as follows: first a single bit, 1, is appended to the end of the message. This is followed by as many zeros as are required to bring the length of the message up to 64 bits fewer than a multiple of 512. The remaining bits are filled up with a 64-bit little endian integer representing the length of the original message, in bits.

  The main MD5 algorithm operates on a 128-bit state, divided into four 32-bit words, denoted A, B, C and D. These are initialized to certain fixed constants.

MD5 Algorithm

  The algorithm then operates on each 512-bit message block in turn, each block modifying the state. The processing of a message block consists of four similar stages, termed rounds; each round is composed of 16 similar operations based on a non-linear function F, modular addition, and left rotation. Figure 1 illustrates one operation within a round. There are four possible functions F; a different one is used in each round.

The MD5 hash algorithm is widely used, both on the web and in applications. Its one way encryption makes it almost impossible to reverse engineer with any degree of accuracy without knowing what the original string might have been. For added security a secret SALT can be added to the original string before generating the MD5 hash string.

The MD5 Encryption Extension offers you an easy mechanism to create and verify MD5 encrypted strings.

Using GML Coding Using Drag & Drop

my_secret_pass = md5_hash_string("pinocio14");

Would store "pinocio14" in my_secret_pass as

password = get_string("Enter Your Password","");
my_secret_pass = md5_hash_string(password);

Would store the contents of password as an MD5 hash into my_secet_pass variable.

Create MD5

(Game Maker Pro Version 7 or greater is required to install GM Extensions)

Free Extension Download

Download is in an easy to use self-extracting installer wizard which will guide you through the installation but makes no changes to your system.

GM Extension Download

Download includes Installation Guide, Help Manual, Extension and Examples.
This extension is offered 100% FREE — There is nothing to purchase.
(All Our Software is Certified Virus and Spyware Free)

MD5 Security - Collision Vulnerabilities

MD5 is not collision resistant; as such, MD5 is not suitable for applications like SSL certificates or digital signatures that rely on this property. In 1996, a flaw was found with the design of MD5, and while it was not a clearly fatal weakness, cryptographers began recommending the use of other algorithms, such as SHA-1 although this too has since been found to be vulnerable. In 2004, more serious flaws were discovered in MD5, making further use of the algorithm for security purposes questionable - specifically, a group of researchers described how to create a pair of files that share the same MD5 checksum.

Although MD5 hash checksums can be faked, they still remain one-way encryptions with little possibility of reverse engineering to obtain the original string with any degree of accuracy.

MD5 Hash is often used to encode sensitive data, like passwords or login information particularly when storing in a database. The hash itself can also be salted with an unknown value to make faking that much harder. It is important to remember that the hash generated is used as a comparison; storing an MD5 Hash of an email address would be practically useless as it could never be used.

For the purpose of login forms the convention is to create a hash from the user's input and compare this with the encrypted hash stored in the database or on file. An MD5 hash is always 16bytes long (32 characters) regardless of the length of the string it is generated from.

NOTE: You must have Game Maker Pro Version 7/8 to use this Extension

Free Extension Download PC Game Download

Download includes Installation Guide, User Manual, Extension and Example files.
(All Our Software is Certified Virus and Spyware Free)

Site Info Home | About Us | Privacy Policy | Contact Us | Donate | © Copyright Software4me all rights reserved.
Valid XHTML 1.0