Sha512

circle-info

The Sha512() function hashes a specified text string with SHA512, and returns a hexadecimal text string. This hash function is preferred to SHA-256, being more secure.

WIKI: http://en.wikipedia.org/wiki/SHA-2arrow-up-right

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Hashed values cannot be decoded, usually you check an incoming value against a known value that you hash yourself and check if both values are identical, to verify correctness without knowing the actual value.

If you save this value to a database field make sure this field length is more then 128 digits, to make sure the whole string is saved.

circle-check

Syntax

chevron-rightSha512(text)hashtag

Sha512("") => "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"

Sha512("The quick brown fox jumps over the lazy dog.") => "91ea1245f20d46ae9a037a989f54f1f790f0a47607eeb8a14d12890cea77a1bbc6c7ed9cf205e67b7f2b8fd4c7dfd3a7a8617e45f3c463d481c7e586c39ac1ed"

Parameters

Name
Type
Required
Description

text

text

☑️

a text

Last updated

Was this helpful?