SHA1_BINARY

functionsupportedCore SQL functions

docs.snowflake.com ↗

String & binary functions

Returns a 20-byte binary containing the 160-bit SHA-1 message digest.

Syntax

SHA1_BINARY(<msg>)

Parameters

NameRequiredDescription
msgrequiredA string expression, the message to be hashed.

Returns

The data type of the returned value is BINARY.

Usage notes