Skip to main content

Description

Calculates the SHA1 hash of a string

Syntax

SHA1(string_expression)

Examples

SHA1('hello world') returns 2aae6c…e846ed

Return value datatype

String

Impact of null value

If input is null, returns null.
Last modified on April 20, 2026