Trail of Bits presents secure hashing for multiple inputs
In a post dated October 2, 2026, Trail of Bits presents SequenceHash and SequenceMAC, constructions for combining inputs unambiguously with different cryptographic hash functions.
Source: SequenceHash: multihashing para todos (blog.trailofbits.com). Text prepared with AI from this source.
What happened and what to do
In a post published on October 2, 2026, Trail of Bits presents SequenceHash and SequenceMAC for hashing multiple inputs without encoding ambiguities. The constructions work with functions such as SHA-256, SHA-384, SHA-512, BLAKE, and RIPEMD, without requiring non-byte-aligned calculations. The post includes initial implementations in Rust, Go, and Python, plus test vectors; security depends on the underlying hash function. SequenceMAC accepts keys of 32 bytes or more.
A company that combines fields into hashes for identifiers, authentication, or integrity can review places where values are concatenated without unambiguous boundaries. A practical implementation is to standardize data encoding, adopt an appropriate construction, and validate behavior with tests and known vectors. Choosing the hash function remains essential: a composition construction cannot make a weak function secure.
How the consultancy can help
Wendelmaques can assess hash and MAC usage in your systems, identify risks from ambiguous encoding, and scope implementation, testing, and operation of a solution suited to your infrastructure.
Next step
Send a short description of your case to receive a scoped proposal for diagnosis and implementation.
Let's assess your project
I reply with scope and a proposal.