hash_sha256 | R Documentation |
Calculate the SHA-256 hash of each element of a character vector.
hash_sha256(x)
hash_raw_sha256(x)
hash_obj_sha256(x, serialize_version = 2)
hash_file_sha256(paths)
x |
Character vector. If not a character vector, then
|
serialize_version |
Workspace format version to use, see
|
paths |
Character vector of file names. |
hash_raw_sha256()
calculates the SHA-256 hash of the bytes
of a raw vector.
hash_obj_sha256()
calculates the SHA-256 hash of an R
object. The object is serialized into a binary vector first.
hash_file_sha256()
calculates the SHA-256 hash of one or
more files.
hash_sha256()
returns a character vector of hexadecimal
SHA-256 hashes.
hash_raw_sha256()
returns a character scalar.
hash_obj_sha256()
returns a character scalar.
hash_file_sha256()
returns a character vector of SHA-256
hashes.
Other hash functions:
hash_animal()
,
hash_emoji()
,
hash_md5()
,
hash_sha1()
hash_sha256(c("foo", NA, "bar", ""))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.