Hash the provided bytes with Keccak256 and ensure that the result fits in the BN254 prime field by truncating the resulting hash to 31 bytes.
bytes
Input bytes
Hash digest
Hash the provided
byteswith Keccak256 and ensure that the result fits in the BN254 prime field by truncating the resulting hash to 31 bytes.