Kex.word_bytes: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/kex.bend as Kex Lines 32-34 of bend-collections@1.0.0.0/src/crypto/kex.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/kex.bend&start_line=32&end_line=34 import Base # 32 bytes from 8 words, little-endian def word_bytes(+w: U32, rest: List<&2, U32>) -> List<&2, U32>: Con{U32.and(w, 255), Con{U32.and(U32.shrn(w, 8n), 255), Con{U32.and(U32.shrn(w, 16n), 255), Con{U32.shrn(w, 24n), rest}}}} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn