A C++ extension for TLSH
Usage:
import tlsh
h1 = tlsh.hash(data)
h2 = tlsh.hash(similar_data)
score = tlsh.diff(h1, h2)
h3 = tlsh.Tlsh()
with open('file', 'rb') as f:
for buf in iter(lambda: f.read(512), b''):
h3.update(buf)
h3.final()
assert h3.diff(h) == 0
score = h3.diff(h1)
Metadata
Release files for tlsh 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tlsh-0.2.0.tar.gz | 1.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tlsh-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 kB
Release files / tlsh-0.2.0.tar.gz
| Download URL | tlsh-0.2.0.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d722b4f65e70170ad8f88410ec46e273e1b1510d6dbe2a73a99d61c19397e98b
|
|
BLAKE2b-256 checksum How to use checksums |
b8a86fe9b6c239be921bbdc17e28e60a32300c28e883bb2c5e6ca162e5afbcf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / tlsh-0.2.0-py3-none-any.whl
| Download URL | tlsh-0.2.0-py3-none-any.whl |
|---|---|
| Size | 1.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9bd4bd34dbff7bfd0b92cbf367e5edcd1557de41342096602ed22e158788639
|
|
BLAKE2b-256 checksum How to use checksums |
435f892619c648b04cfb55924ad0772baf2885d370d39c1cd6e623226c2270ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for tlsh 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.