SparkR (version 2.1.2)

sha1: sha1

Description

Calculates the SHA-1 digest of a binary column and returns the value as a 40 character hex string.

Usage

sha1(x)

# S4 method for Column sha1(x)

Arguments

x

Column to compute on.

See Also

Other misc_funcs: crc32, hash, md5, monotonically_increasing_id, sha2

Examples

Run this code
# NOT RUN {
sha1(df$c)
# }

Run the code above in your browser using DataCamp Workspace