When length(x) == 1
and x can be converted to a character by using the
as.character()
function, x is converted to a hash object. This does
not imply an=y hashing, just type conversion!
as.hash(x)
x | a vector which can be, by using |
---|
the to a character converted object x with the class hash
assigned
Only really useful to convert a hash represented as a string into an object of class hash
.
as.hash("2c5d36be542f8f0e7345d77753a5d7ea61a443ba6a9a86bb060332ad56dba38e")#> [1] "2c5d36be542f8f0e7345d77753a5d7ea61a443ba6a9a86bb060332ad56dba38e"