snarkvm_circuit_program

Function compute_function_id

Source
pub fn compute_function_id<A: Aleo>(
    network_id: &U16<A>,
    program_id: &ProgramID<A>,
    function_name: &Identifier<A>,
) -> Field<A>
Expand description

Compute the function ID as Hash(network_id, program_id.len(), program_id, function_name.len(), function_name).