The text “12345” converted to “827ccb0eea8a706c4c34a16891f84e7b”. That’s nothing but simple encryption using MD5 cryptography. You can use MD5 encryption in your projects for encrypting sensitive data like passwords, credit card numbers, etc. But beware, once encrypted these cannot be decrypted again. For example, once you store the hashed password in a database, you can afterwards check during user login whether the hash of the entered password and the stored hashes are the same.
I have created a simple utility class which can be used to encrypt or compare hashes. It is a shared class and thus can be used directly without creating any instance. To download it, click here. To use it simply write
Hasher.HashIt(inputStr). Replace the
inputStr with the string you want to hash and it’s done.
You can find the complete history and algorithm of MD5 here.