Aes.nk: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/aes.bend as Aes Lines 253-256 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/aes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/aes.bend&start_line=253&end_line=256 import Base # Figure 4: Nk is the key length in 32-bit words and Nr = Nk + 6 # (AES-128: 4, 10; AES-192: 6, 12; AES-256: 8, 14). def nk(+key: List<&2, U32>) -> Nat: Nat.div(List.length(&2, U32, key), 4n) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32