| sha2 {SparkR} | R Documentation | 
Calculates the SHA-2 family of hash functions of a binary column and returns the value as a hex string.
## S4 method for signature 'Column,numeric' sha2(y, x) sha2(y, x)
y | 
 column to compute SHA-2 on.  | 
x | 
 one of 224, 256, 384, or 512.  | 
Other misc_funcs: crc32, crc32;
md5, md5; sha1,
sha1
## Not run: sha2(df$c, 256)