← Monday, October 5, 2026SecurityDeep dive

SequenceHash and SequenceMAC prevent ambiguous multihash encodings

blog.trailofbits.com 15 min read Editor score 7/10

The open specification introduces hash constructions intended to avoid attacks on ambiguous input encodings, working with hash functions such as SHA-2, BLAKE, and RIPEMD rather than only Keccak. The approach is relevant to engineers building secure cryptographic protocols and systems.

What
SequenceHash and SequenceMAC are multihash constructions designed to work with secure hash functions beyond Keccak.
How
Unlike raw concatenation, they avoid ambiguous input boundaries and work with common hash functions without non-byte-aligned computations.
Why it matters
Rust, Go, and Python implementations plus test vectors help developers implement and verify secure multihashing.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.