Learn R Programming

tlsh (version 0.1.0)

my_hash: Function that applies a hash function to each column of the band from the signature matrix import bit64

Description

Function that applies a hash function to each column of the band from the signature matrix import bit64

Usage

my_hash(a_band)

Arguments

a_band

Band from the signature matrix M

Value

a 64 bit integer

Examples

Run this code
# NOT RUN {
band1 <- c(2,1,2,1,2)
band2 <- c(4,5,2,1,9)
combined_band <- rbind(band1,band2)
my_hash(combined_band)
# }

Run the code above in your browser using DataLab