hash: One way hash a vector

View source: R/hash.R

hashR Documentation

One way hash a vector

Description

One way hash a vector

Usage

hash(x, type = "md5", n_char = NULL)

Arguments

x

vector of numbers or characters

type

hashing algorithm to use

n_char

number of characters to return

Value

one way hashed vector of the same length

Examples

hash("This is secret stuff")
hash(c("Also handles", NA, "NA values"))

CDU-data-science-team/nottshcMethods documentation built on March 19, 2023, 11:54 a.m.