Overview
SC-07 added SHA-512 anchoring alongside the original SHA-256 support, but contract/src/cache.rs's cache-key construction should be confirmed to namespace by hash algorithm — otherwise a SHA-256 hash and an unrelated SHA-512 hash that happen to share a prefix/value space could collide in the cache and return the wrong verification result.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
SC-07 added SHA-512 anchoring alongside the original SHA-256 support, but
contract/src/cache.rs's cache-key construction should be confirmed to namespace by hash algorithm — otherwise a SHA-256 hash and an unrelated SHA-512 hash that happen to share a prefix/value space could collide in the cache and return the wrong verification result.Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.