{{tag>Function Function_List Text}} ====== MD5 ====== ===== Description ===== Returns the MD5 hash of the provided text as a hexadecimal string ===== Syntax ===== ''MD5 (text[, encoding])'' ===== Parameters ===== Attribute of the Plain Text type or string constant or calculation producing text, and optionally a string naming the character encoding to use (if not specified the default encoding is used) ===== Returns ===== **Text**: the MD5 hash of the text, as a hexadecimal string ===== Example ===== IF MD5 (Document.Text) <> Document.Checksum THEN ... ===== Related ===== [[ref:a_f:f:af:generate_pwd|GENERATE_PWD]], [[ref:a_f:f:af:encrypt_base64|ENCRYPT_BASE64]], [[ref:a_f:f:af:url_encode|URL_ENCODE]], [[ref:a_f:f:af:to_lower_case|TO_LOWER_CASE]]