Link Search Menu Expand Document

MD5

Calculates the MD5 hash of string, returning the result as a string in hexadecimal.

Syntax

MD5(<string>)
Parameter Description
<string> The string to hash. For NULL, the function returns 0.

Example

SELECT
	MD5('text') AS res;

Returns: 1cb251ec0d568de6a929b520c4aed8d1