simbiota-tlsh

Crates.iosimbiota-tlsh
lib.rssimbiota-tlsh
version1.1.0
sourcesrc
created_at2024-07-31 08:39:52.633575
updated_at2024-09-05 13:05:46.527234
descriptionA pure-rust implementation of Trendmicro's TLSH algorithm, featuring the same optimizations found in the reference implementation.
homepagehttps://simbiota.io
repositoryhttps://github.com/simbiota/simbiota-tlsh
max_upload_size
id1320742
size315,253
Magyar Máté András (Barrow099)

documentation

README

TLSH rust reimplementation introducing colored hashes

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.

Footnotes

  1. 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

Commit count: 0

cargo fmt