sha1 {SparkR}R Documentation

sha1

Description

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

Usage

## S4 method for signature 'Column'
sha1(x)

sha1(x)

Arguments

x

Column to compute on.

Note

sha1 since 1.5.0

See Also

Other misc_funcs: crc32, crc32, crc32,Column-method; hash, hash, hash,Column-method; md5, md5, md5,Column-method; monotonically_increasing_id, monotonically_increasing_id, monotonically_increasing_id,missing-method; sha2, sha2, sha2,Column,numeric-method

Examples

## Not run: sha1(df$c)

[Package SparkR version 2.2.0 Index]