Expand description
Digest type and canonical hashing.
A Digest names a blob by (sha256, size). Structurally it mirrors the
Bazel Remote Execution API v2 Digest message so that the same value can
later be handed to a bazel-remote-apis gRPC client without conversion.
Structs§
- Digest
- A content digest: hex-encoded SHA-256 plus the byte size of the content.
Functions§
- canonical_
bytes - Serialize a value with stable field ordering for digest computation.
- digest_
of - Compute a digest over a serializable value’s canonical encoding.