gossdeep: github.com/dutchcoders/gossdeep Index | Files

package ssdeep

import "github.com/dutchcoders/gossdeep"

Index

Package Files

ssdeep.go

func Compare Uses

func Compare(str1, str2 string) (int, error)

Computes the match score between two fuzzy hash signatures.

func HashFilename Uses

func HashFilename(filename string) (string, error)

Compute the fuzzy hash of a file.

func HashString Uses

func HashString(str string) (string, error)

Obtain the fuzzy hash from the state.

type FuzzyState Uses

type FuzzyState struct {
    // contains filtered or unexported fields
}

func New Uses

func New() (*FuzzyState, error)

Construct a fuzzy_state object and return it.

func (*FuzzyState) Clone Uses

func (fs *FuzzyState) Clone() (*FuzzyState, error)

Create a copy of a fuzzy_state object and return it.

func (*FuzzyState) Digest Uses

func (fs *FuzzyState) Digest() (string, error)

Obtain the fuzzy hash from the state.

func (*FuzzyState) Free Uses

func (fs *FuzzyState) Free()

Dispose a fuzzy state.

func (*FuzzyState) Update Uses

func (fs *FuzzyState) Update(str string) error

Feed the data contained in the given buffer to the state.<F37>

Package ssdeep imports 3 packages (graph). Updated 2017-07-26. Refresh now. Tools for package owners.