def x32.merge
import bend-kit-hash@0.3.0.2/hash.bend as Hashimport Base
463def x32.merge(r: Array<U32> & V4) -> Array<U32> & U32:
464 (buf, V4{+a, +b, +c, +d}) = r
465 (buf, (rotl32(a, 1n, 31n) + rotl32(b, 7n, 25n) + rotl32(c, 12n, 20n) + rotl32(d, 18n, 14n) : U32))