FunctionsΒ§
- bit_and
- bit_xor
- bitwise_
op π - Performs a bitwise operation on two field elements by treating them as byte arrays.
- mask_
to_ πle_ bytes - mask_
vector_ πle - Mask a byte array in-place to only keep the lowest
num_bits - try_
bitwise_ πu128 - Attempt to perform a bitwise operation using native u128 arithmetic.
Returns
Noneifnum_bits > 128or either operand doesnβt fit in a u128.