Sha1

The Sha1() function hashes a specified text string with SHA1, and returns a hexadecimal text string.

SHA-1 is not considered secure, but some older systems still use this encryption. WEM supports this ONLY at your own risk, and ONLY to be used to integrate with other systems that provide no other way.

WIKI: https://en.wikipedia.org/wiki/SHA-1

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.

Returns a hexadecimal text string. Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.

Syntax

Sha1(text)

Sha1("text") => 372ea08cab33e71c02c651dbc83a474d32c676ea

Parameters

NameTypeRequiredDescription

text

text

a text

Last updated