Versions in this module Expand all Collapse all v0 v0.3.2 Jan 8, 2022 Changes in this version + var ErrBlockSizeTooSmall = errors.New("unable to establish a sufficient block size") + var ErrEmptyHash = errors.New("empty string") + var ErrFileTooSmall = errors.New("did not process files large enough to produce meaningful results") + var ErrInvalidFormat = errors.New("invalid ssdeep format") + var ErrZeroBlockSize = errors.New("Reached zero block size, unable to compute hash") + var Force = false + func Distance2(hash1String1, hash1String2, hash2String1, hash2String2 string, ...) (score int, err error) + func FuzzyBytes(buffer []byte) (string, error) + func FuzzyFile(f *os.File) (string, error) + func FuzzyFilename(filename string) (string, error) + func FuzzyReader(f Reader, fileSize int) (string, error) + type Reader interface v0.1.0 Dec 7, 2017 Changes in this version + func Distance(hash1, hash2 *FuzzyHash) (score int) + func GetFileSize(f *os.File) (int, error) + type FuzzyHash struct + func (h FuzzyHash) String() string + type SSDEEP struct + func NewSSDEEP() SSDEEP + func (sdeep *SSDEEP) FuzzyByte(blob []byte) (*FuzzyHash, error) + func (sdeep *SSDEEP) FuzzyFile(f *os.File, fileLocation string) (*FuzzyHash, error) + func (sdeep *SSDEEP) FuzzyReader(f fuzzyReader, fileLocation string) (*FuzzyHash, error) + func (sdeep *SSDEEP) GetBlockSize(n int)