Crates.io | simbiota-tlsh |
lib.rs | simbiota-tlsh |
version | 1.1.0 |
source | src |
created_at | 2024-07-31 08:39:52.633575 |
updated_at | 2024-09-05 13:05:46.527234 |
description | A pure-rust implementation of Trendmicro's TLSH algorithm, featuring the same optimizations found in the reference implementation. |
homepage | https://simbiota.io |
repository | https://github.com/simbiota/simbiota-tlsh |
max_upload_size | |
id | 1320742 |
size | 315,253 |
We reimplemented the original TLSH algorithm in Rust. Our implementation currently is the modified version of the default hash calculation parameters, namely, 1 byte checksum, 128 buckets that result in a 70 character long hash in hexadecimal representation. Note, however, that our implementation supports an extra security feature that we added in order to prevent a recent attack on the TLSH scheme1. As a consequence, the hash value that our implementation produces can contain an extra byte compared to the original TLSH hash value, so it is 36 bytes long (i.e., 72 characters long in hexadecimal form) instead of 35 bytes.
Gábor Fuchs, Roland Nagy, Levente Buttyán, A Practical Attack on the TLSH Similarity Digest Scheme, In Proceedings of the 18th International Conference on Availability, Reliability and Security (ARES 2023), Benevento, Italy, August 29 - September 1, 2023. DOI: 10.1145/3600160.3600173 ↩