📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

MD5



Calculates an MD5 128-bit checksum for a string. The value is returned as a string of 32 hexadecimal digits or NULL if the argument was NULL.

Syntax

MD5(<expr>)

Examples

SELECT MD5('1234567890'); ┌──────────────────────────────────┐ │ md5('1234567890') │ ├──────────────────────────────────┤ │ e807f1fcf82d132f9bb018ca6738a19f │ └──────────────────────────────────┘

Was this page helpful?