Function datafusion_physical_expr::crypto_expressions::digest
source · pub fn digest(args: &[ColumnarValue]) -> Result<ColumnarValue>
Expand description
Digest computes a binary hash of the given data, accepts Utf8 or LargeUtf8 and returns a ColumnarValue
.
Second argument is the algorithm to use.
Standard algorithms are md5, sha1, sha224, sha256, sha384 and sha512.