md5 function

Returns an MD5 128-bit checksum of expr as a hex string.

Syntax

md5(expr)

Arguments

  • expr: An BINARY expression.

Returns

A STRING.

Examples

> SELECT md5('Spark');
 8cde774d6f7333752ed72cacddb05126