MD5()

MySQL MD5() Calculates an MD5 128-bit checksum for a string. The value is returned as a binary string of 32 hex digits, or NULL if the argument was NULL. The example of MD5() function are given below:
$sql = “SELECT MD5(‘AZAM’)”;

Description

The above example returns the string of 32 hex digit. If we give the argument NULL then it give the output NULL.

Output

The output of the above function will be:
MD5(‘AZAM’)
f30f2b83d482145c20dd590110d7ad15

Advertisements