Skip to main content

program_signature

Function program_signature 

Source
pub fn program_signature(program: &Program) -> u64
Expand description

Hash a program’s opcode sequence into a stable identifier. Two programs with the same opcodes hash to the same value — enables CSE across let initialisers or parallel -> binds.