Module hash

Source

Functionsยง

execute_poseidon2_permutation_opcode ๐Ÿ”’
execute_sha_256_permutation_opcode ๐Ÿ”’
get_hash_input ๐Ÿ”’
Reads the hash function input from a [WitnessMap].
solve_generic_256_hash_opcode ๐Ÿ”’
Attempts to solve a 256 bit hash function opcode. If successful, initial_witness will be mutated to contain the new witness assignment.
solve_poseidon2_permutation_opcode ๐Ÿ”’
solve_sha_256_permutation_opcode ๐Ÿ”’
to_u32_array ๐Ÿ”’
write_digest_to_outputs ๐Ÿ”’
Writes a digest to the [WitnessMap] at witness indices outputs.