hash_file.Rd
Return CTP hash of one or more files
hash_file(path)
path | character vector of file paths |
---|
data frame
system.file("extdat", package="ssdeepr") %>% list.files(full.names = TRUE, pattern = "html$", include.dirs = FALSE) %>% hash_file() -> hashes hash_compare(hashes$hash[1], hashes$hash[1]) hash_compare(hashes$hash[1], hashes$hash[2]) hash_compare(hashes$hash[1], hashes$hash[3]) hash_compare(hashes$hash[1], hashes$hash[4])