def words
import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20import Base
30def words(bytes: List<&2, U32>) -> List<&2, U32>:
31 match bytes:
32 case b0 <> b1 <> b2 <> b3 <> rest: word(b0, b1, b2, b3) <> words(rest)
33 case _: Nil{}