Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 483 Bytes

File metadata and controls

20 lines (14 loc) · 483 Bytes
description
Computes the 512-bit SHA-2 hash value of a string.

SHA512

Syntax

SHA512(expr varchar) → varchar

  • expression: The string to hash.

Examples

{% code title="SHA512 example" %}

SELECT SHA512('Spice')
-- f011241f4a038756cbffccc934ab67215e0ca5760d84423af09307c0e6d9991b24963680db6102466176bcea4d609b82ed2e

{% endcode %}