Groups are mathematical entities that display a lot of symmetry. In fact
they are used as a tool to study symmetries in particle physics. Essentially, they are
non-empty sets with an operation, that satisfies the following
properties:
As examples we have:
Problem: We have a set of four 8 bit registers $$\D = {A,B,C,D\}$$ and we want to operate then with
a group for the square's symmetry $$G = {e,r,s_1,s_2,s_3,s_4,s_5,s_6}$$
} We dispose the elements
of D in the corners of the square. Each operation $$r: xor reg, reg$$ and operation $$s_n$$ is
is a reflexion operation $$s_n: xor reg reg$$ and finally e: NOP. Example:
Starting with
$$A = 0x0F$$, $$B = 0xAA $$, $$C = 0x55$$ and $$D = 0xFF$$
What is the final result in the A
register.