Aes.shift_rows: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/aes/aes.bend as Aes Lines 20-24 of bend-collections@1.0.0.0/src/crypto/aes/aes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&start_line=20&end_line=24 import Base import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T # Row r moves r columns to the left. def shift_rows(s: T.State) -> T.State: match s: case T.S{T.W{a0, a1, a2, a3}, T.W{b0, b1, b2, b3}, T.W{c0, c1, c2, c3}, T.W{d0, d1, d2, d3}}: T.S{T.W{a0, b1, c2, d3}, T.W{b0, c1, d2, a3}, T.W{c0, d1, a2, b3}, T.W{d0, a1, b2, c3}} Uses (2): https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/types.bend&name=Quad https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/types.bend&name=State