hash_xxhash | R Documentation |
Extremely fast hash algorithm.
hash_xxhash(x)
hash_raw_xxhash(x)
hash_obj_xxhash(x, serialize_version = 2)
hash_file_xxhash(paths)
hash_xxhash64(x)
hash_raw_xxhash64(x)
hash_obj_xxhash64(x, serialize_version = 2)
hash_file_xxhash64(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_xxhash()
calculates the xxHash hash of the bytes
of a raw vector.
hash_obj_xxhash()
calculates the xxHash hash of an R
object. The object is serialized into a binary vector first.
hash_file_xxhash()
calculates the xxHash hash of one or
more files.
The 64
functions caculate the 64 bit variant
of xxHash. Otherwise they work the same.
hash_xxhash()
returns a character vector of hexadecimal
xxHash hashes.
hash_raw_xxhash()
returns a character scalar.
hash_obj_xxhash()
returns a character scalar.
hash_file_xxhash()
returns a character vector of xxHash
hashes.
Other hash functions:
hash_animal()
,
hash_emoji()
,
hash_md5()
,
hash_sha1()
,
hash_sha256()
hash_xxhash(c("foo", NA, "bar", ""))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.