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