Archive

Archive for July, 2010

Md5: USCYBERCOM Seal Encryption

July 8th, 2010

Today I would like to show you how to properly use MD5 encryption within your pages. I am going to show you the basic use and will elaborate at a later time.

If you were to look at the United States Cyber Command seal you will find an MD5 hash written around the inner seal. It reads:

9ec4c12949a4f31474f299058ce2b22a

MD5 is a one way encryption that is used many times for password verification. Its a great way to store user passwords without having a plain text password easily available in case of malicious use. Since it cannot be decrypted the only way to know that it is in fact what you want is to encrypt the user’s input and match the both hash strings. There are other ways of making this more secure by enacting a salt and encrypting again.

Below is the example of the code above:

$str = md5(”USCYBERCOM plans, coordinates, integrates, synchronizes and conducts activities to: direct the operations and defense of specified Department of Defense information networks and; prepare to, and when directed, conduct full spectrum military cyberspace operations in order to enable actions in all domains, ensure US/Allied freedom of action in cyberspace and deny the same to our adversaries.”);
echo $str;

This will output:

9ec4c12949a4f31474f299058ce2b22a

That is the code written on the seal of the US Cyber Command.

Uncategorized