Block.init: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/random/chacha8/block.bend as Block Lines 26-30 of bend-collections@1.0.0.0/src/math/random/chacha8/block.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/random/chacha8/block.bend&start_line=26&end_line=30 import Base # the initial state: constants, key, 32-bit block counter, zero nonce def init(k: Key, +ctr: U32) -> Vector: match k: case K{k0,k1,k2,k3,k4,k5,k6,k7}: V{1634760805,857760878,2036477234,1797285236,k0,k1,k2,k3,k4,k5,k6,k7,ctr,0,0,0} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/random/chacha8/block.bend&name=Key https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/random/chacha8/block.bend&name=Vector