pub fn raw_digest<T: Serialize + ?Sized>(value: &T) -> String
Stable SHA-256 over the exact JSON bytes stored by the checkpoint contract.