Py-tlsh

Latest version: v4.7.2

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 13

3.9.0

resolving issue 48 - tlsh_pattern program
This tlsh_pattern program should read a pattern file
+ col 1: pattern number
+ col 2: nitems in group
+ col 3: TLSH
+ col 4: radius
+ col 5: pattern label
The input options should match the tlsh program
<PRE>
usage: tlsh_pattern [-xlen] [-force] -pat pattern_file -f file
: tlsh_pattern [-xlen] [-force] -pat pattern_file -d digest
: tlsh_pattern [-xlen] [-force] -pat pattern_file -r dir
: tlsh_pattern [-xlen] [-force] -pat pattern_file -l listfile
</PRE>

3.8.0

Adding // access functions - required by tools using TLSH library
+ int Lvalue();
+ int Q1ratio();
+ int Q2ratio();

3.7.5

- resolving issue 46
- in include/tlsh_impl.h
define SLIDING_WND_SIZE 5
this can be varied between 4 to 8

3.7.4

- resolving issue 45
- add a timing test for TLSH
<PRE>
$ bin/timing_unittest
build a buffer with a million bytes...
eval TLSH 50 times...
TLSH(buffer) = A12500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008
BEFORE ms=1502905567631
AFTER ms=1502905573523
TIME ms=5892
TIME ms=117 per iteration
</PRE>

3.7.3

- resolving issue 44
- making static library the default

3.7.2

- added code to set the distance parameters for ROC analysis
to use these settings then change in CMakeLists.txt
set(TLSH_DISTANCE_PARAMETERS 0)
=>
set(TLSH_DISTANCE_PARAMETERS 1)

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.