-
Notifications
You must be signed in to change notification settings - Fork 17
API
Lukas Rist edited this page Jul 14, 2017
·
3 revisions
func New() (tlsh.Tlsh)
type FuzzyReader
type Tlsh
- func HashFilename(filename string) (err error)
- func HashBytes(blob []byte) (err error)
- func HashReader(r FuzzyReader) (err error)
- func String() (hash string, err error)
- func Sum() (hash uint?, err error)
func Diff(hash1 Tlsh, hash2 Tlsh) (diff int)
func Write(data []byte) (n int, err error) // Adding to the current data/hash?
func Reset() (err error) // Resetting the hash state? or just use New()?