def invert
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2s.bend as Blake2simport Base
91def invert(last: Bool, +v: List<&2,U32>) -> List<&2,U32>:
92 match last:
93 case True{}: put(v, 14n, U32.xor(get(v, 14n), 4294967295))
94 case False{}: v