Simple Password Safety using MD5 Encryption in PHP
In this tutorial we will create a simple safety password using MD5 encryption. PHP offers the md5 function which calculates the MD5 hash of a string using the MD5 Message Digest Algorithm. This algorithm takes a string and generates a 128-bit fingerprint of the input string. MD5 is a one-way encryption which means that you cannot decipher the fingerprint to get the original string. Yet another feature of MD5 is that the algorithm will always generate the same fingerprint for a given string.