MD5(string)

Description: Returns the MD5 checksum of string. The returned value is a 32-character hexadecimal.

Example:

  • MD5("Special message") returns e917d9b9d5d1904f8628b6f265d857e1.

See also: ENCODE(), ENCRYPT(), PASSWORD(), SHA()

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.