php code to encrypt plain text to md5 hash and decrypt md5 hash to plain text using different types of attack