def get_word
import bend-collections@1.0.0.0/src/crypto/aes/aes.bend as Aesimport Base
import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T
97def get_word(ws: List<&2, T.Quad>, n: Nat) -> T.Quad:
98 match ws n:
99 case Nil{} _:
100 T.W{0, 0, 0, 0}
101 case w <> rest 0n:
102 w
103 case w <> rest 1n+p:
104 get_word(rest, p)