snowflake.snowpark.functions.sha2¶
- snowflake.snowpark.functions.sha2(e: Union[Column, str], num_bits: int) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/functions.py#L1880-L1895)¶
Returns a hex-encoded string containing the N-bit SHA-2 message digest, where N is the specified output digest size.
- Example::