1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Typed newtype for 32-byte hash digests.
//!
//! `Hash256` is a generic 32-byte digest container — SHA-256, Blake3, or any
//! 32-byte content address. It is NOT a signing key and must not be typed as
//! one. This newtype disambiguates at the type level so the Rust compiler
//! distinguishes hash values from Ed25519 signing-key byte arrays.
//!
//! Wire format is unchanged: `#[serde(transparent)]` preserves byte-identical
//! serialization with the prior bare `[u8; 32]`.
use ;
/// 32-byte hash digest (SHA-256, Blake3, or any content address).
;