Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (≤ 4.0 supported)·"Since X.Y" tags refer to Doris versionsversion mapping →

MD5SUM

description

Calculates an MD5 128-bit checksum for the strings

Syntax

MD5SUM( <str> [ , <str> ... ] )

Parameters

parameterdescription
<str>The MD5 value to be calculated

Return Value

Returns the MD5 value of multiple strings

Examples

select md5("abcd"),md5sum("ab","cd");
+----------------------------------+----------------------------------+
| md5('abcd') | md5sum('ab', 'cd') |
+----------------------------------+----------------------------------+
| e2fc714c4727ee9395f324cd2e7f331f | e2fc714c4727ee9395f324cd2e7f331f |
+----------------------------------+----------------------------------+