Expand description
Module: cdk::utils::hash
Responsibility: SHA-256 helpers for wasm/module identity and hex rendering. Does not own: artifact storage, wasm validation, or manifest policy. Boundary: provides pure hashing and hex conversion utilities.
Enums§
- Decode
HexError - DecodeHexError
Functions§
- decode_
hex - Decode one even-length hexadecimal string into bytes.
- hex_
bytes - Render one byte slice as lowercase hexadecimal.
- sha256_
bytes - Compute SHA-256 bytes from an in-memory byte slice.
- sha256_
hex - Compute lowercase hexadecimal SHA-256 from an in-memory byte slice.
- wasm_
hash - Compute raw wasm module hash bytes.
- wasm_
hash_ hex - Compute lowercase hexadecimal wasm module hash.