Rijndael S-box

to get instant updates about 'Rijndael S-Box' on your MyPage. Meet other similar minded people. Its Free!


All Updates

This article describes the S-box used by the Rijndael (aka AES) cryptographic algorithm.

Forward S-box

The S-box is generated by determining the multiplicative inverse for a given number in GF(2<sup>8</sup>) = GF(2)/(x<sup>8</sup> + x<sup>4</sup> + x<sup>3</sup> + x + 1), Rijndael's finite field (zero,which has no inverse, is set to zero). The multiplicative inverse is then transformed using the following affine transformation:

1&0&0&0&1&1&1&1 \1&1&0&0&0&1&1&1 \1&1&1&0&0&0&1&1 \1&1&1&1&0&0&0&1 \1&1&1&1&1&0&0&0 \0&1&1&1&1&1&0&0 \0&0&1&1&1&1&1&0 \0&0&0&1&1&1&1&1endbeginx_0\x_1\x_2\x_3\x_4\x_5\x_6\x_7end+begin1\1\0\0\0\1\1\0end</math>

where is the multiplicative inverse as a vector.

The matrix multiplication can be calculated by the following algorithm:

  1. Store the multiplicative inverse of the input number in two 8-bit unsigned temporary variables: s and x.
  2. Rotate the value s one bit to the left; if the value of s had a high bit (eighth bit from the right) of one, make the low bit of s one; otherwise the low bit of s is zero.
  3. Exclusive or the value of x with the value of s, storing the value in x
  4. For three more iterations, repeat steps two and three;......
  5. ...

Read More

No feeds found

wait Posting your question. Please wait!...

No updates available.
No messages found
Tell your friends >
about this page
 Create a new Page
for companies, colleges, celebrities or anything you like.Get updates on MyPage.
Create a new Page
 Find your friends
  Find friends on MyPage from