pub fn poseidon2_hash2( input0: &[u8], input1: &[u8], domain_separation: u8, ) -> Result<Vec<u8>, JsValue>
Poseidon2 hash with 2 inputs and domain separation
Matches the Circom Poseidon2(2) template