The MD5 algorithm is a 128-bit hash value, is a cryptographic function that accepts any string and length and returns a 128-bit hash output and can be used for storing passwords, banking account numbers and other important data in databases.
MD5 is a fingerprint of the given input and a one-way transaction and MD5 hash is NOT encryption. It is more secure to store the hash values of passwords.