Share via


Functions.Sha2(Column, Int32) Method

Definition

Calculates the SHA-2 family of hash functions of a binary column and returns the value as a hex string.

public static Microsoft.Spark.Sql.Column Sha2 (Microsoft.Spark.Sql.Column column, int numBits);
static member Sha2 : Microsoft.Spark.Sql.Column * int -> Microsoft.Spark.Sql.Column
Public Shared Function Sha2 (column As Column, numBits As Integer) As Column

Parameters

column
Column

Column to apply

numBits
Int32

One of 224, 256, 384 or 512

Returns

Column object

Applies to