def word
import bend-collections@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend as Ecdsaimport Base
247# Keccak-256 (spec/crypto/keccak/main.bend) of bytes packed into
248# little-endian U32 words, as its interface takes them
249def word(+b0: U32, +b1: U32, +b2: U32, +b3: U32) -> U32:
250 U32.or(U32.or(b0, U32.shln(b1, 8n)), U32.or(U32.shln(b2, 16n), U32.shln(b3, 24n)))