HASH.512

HASH.SHA512 calculates a SHA512 message digest based on a provided string. This function throws an error if it passed an argument that is not a string.

Syntax

HASH.SHA512(arg)

Argument

Definition

arg

A string to be transformed

Examples

Example 1: Encrypt a phrase or key

Let's say we have the following HASH.SHA512 function that includes a string:

HASH.SHA512('secret-phrase')

This returns the following SHA512 digest:

ecbfc0b2b68eb9c96e95cb46b90c4874548a8d179bb17642bf4af9bce1fc63e2989c986f3590d541be90886eeaf7243700f0f270c20f396720dc0e1c73efe25e

Note: HASH.MD5,HASH.SHA1,HASH.SHA256, and HASH.SHA384 are also supported.