Functions.Sha2(Column, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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