Aes.rot_word: 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 179-183 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=179&end_line=183 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/types.bend as T # Section 5.2: RotWord, SubWord (sub_word above), and Rcon[j] = [x^(j-1), 0, 0, 0]. def rot_word(w: T.Quad) -> T.Quad: match w: case T.W{a, b, c, d}: T.W{b, c, d, a} Uses (1): https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/types.bend&name=Quad