Expand description
Hash trait and default Blake2b-256 implementation.
All v3 hash computations (image_hash chain, BMT, content-addressing)
go through the Hash trait. Blake2b256 is the spec default.
The trait exists so we can swap in a mock hash for testing or
a different hash function later without churning call sites.
Structs§
- Blake2b256
- Default v3 hash: Blake2b-256 (32-byte output).
Traits§
- Hash
- Hash function abstraction.