MD5( )

This MySQL function use an MD5 128-bit checksum to return a 32-character hash value of string from the RFC 1321 standard.

Syntax

Below is the syntax for this command. Text within square brackets (i.e, [ and ] ) are optional. Choices are separated by bars (i.e, | ). Ellipses preceded by a comma indicates a repeating pattern. Ellipses before or after syntax are used to highlight a relevant except from the larger syntax. Text displayed in italic letters represent text that should be replaced with the specific names related to the database (e.g., column with the name of the column).

MD5(string)

Explanation

This function use an MD5 128-bit checksum to return a 32-character hash value of string from the RFC 1321 standard.

Examples

SELECT MD5('Test') AS 'MD5( ) Test';
+----------------------------------+
| MD5( ) Test                       |
+----------------------------------+
| 0cbc6611f5540bd0809a388dc95a615b |
+----------------------------------+