Parameter | Type |
---|---|
value_to_hash | any |
Returns: string
Example
query:
SELECT name, MD5(name)
FROM employees
ORDER BY name
LIMIT 1
results:
name | md5 |
---|---|
Anna Snelling | f623aa3a08526c44c1cc0d9bdb5441b4 |
A function used to calculate the MD5 hash of a data value. The hash will be returned as a hex encoded string.
Parameter | Type |
---|---|
value_to_hash | any |
query:
SELECT name, MD5(name)
FROM employees
ORDER BY name
LIMIT 1
results:
name | md5 |
---|---|
Anna Snelling | f623aa3a08526c44c1cc0d9bdb5441b4 |