Update the tlsh object with content

tlsh_update(x, content)

Arguments

x

a tlsh object

content

contet to add. See content parameter of tlsh() for possible values and how they are interpreted.

Value

tlsh object

Examples

# NOT RUN {
doc1 <- as.character(xml2::read_html(system.file("extdat", "index.html", package="tlsh")))

tlsh() %>%
  tlsh_update(doc1) %>%
  tlsh_finalize() -> x

tlsh_hash(x)

x
# }