aztec-nr - protocol_types::hash

Function accumulate_sha256

pub fn accumulate_sha256(v0: Field, v1: Field) -> Field

Computes sha256 hash of 2 input fields.

@returns A truncated field (i.e., the first byte is always 0).