def sip.keep
import bend-kit-hash@0.3.0.2/hash.bend as Hashimport Base
627# The low n bytes of w, for n <= 4, so bytes past len never reach the hash.
628def sip.keep(+w: U32, +n: U32) -> U32:
629 Bool.pick(U32, U32.is_lt(n, 4), (w .&. (U32.shln(1, U32.to_nat((n * 8 : U32))) - 1) : U32), w)