Files
doris/docs/en/sql-reference/sql-functions/encrypt-digest-functions/md5sum.md
Zhengguo Yang 07e2acb2f3 [feature] Suport national secret (national commercial password) algorithm SM3/SM4 (#7464)
SM3 is password hash algorithm
SM4 is a block cipher used to replace DES / AES and other international algorithms.
2021-12-28 10:39:54 +08:00

1.4 KiB

title, language
title language
MD5SUM en

MD5SUM

description

Calculates an MD5 128-bit checksum for the strings

Syntax

MD5SUM(str[,str])

example

MySQL > select md5("abcd");
+----------------------------------+
| md5('abcd')                      |
+----------------------------------+
| e2fc714c4727ee9395f324cd2e7f331f |
+----------------------------------+
1 row in set (0.011 sec)

MySQL > select md5sum("ab","cd");
+----------------------------------+
| md5sum('ab', 'cd')               |
+----------------------------------+
| e2fc714c4727ee9395f324cd2e7f331f |
+----------------------------------+
1 row in set (0.008 sec)

keyword

MD5SUM