SHA512

A function used to calculate the SHA-512 hash of a data value. The hash will be returned as a hex-encoded string.

ParameterType
value_to_hash
any
Returns: string

Example

query:

SELECT name, SHA512(name)
  FROM employees
 ORDER BY name
 LIMIT 1

results:

name sha512
Anna Snelling 6563a90f494719800e1689bea9f1cd3f481b0f530e52785c506c04292ef6860d3f0ba22a7497c06e6bcf466113a8ba01c781250194182d7621a68d5b054f5d93