3 ms·
I also made a 1:1 implementation of the spec. The finite field math did cause a bit of head-scratching, but in the end I mostly made sense of things: https://g
by Retr0id 4y ago
I also made a 1:1 implementation of the spec. The finite field math did cause a bit of head-scratching, but in the end I mostly made sense of things:
https://github.com/DavidBuchanan314/aes-playground/blob/master/aes/finite_field.py https://github.com/DavidBuchanan314/aes-playground/blob/mast...
(I left comments quoting the spec as much as possible, so it should be possible to map it back onto the spec, for anyone interested)