Question

Is there any way to change standart S-Box and Inv. S-Box of AES algorithm with another pair of S And Inv S -boxes? Standard S-Box and inv. S-Box here: http://en.wikipedia.org/wiki/Rijndael_S-box

Was it helpful?

Solution

The only possible explanation is that your sBoxInv is not the inverse of sBox. A simple check reveals that sBox[5e] = 6a, whereas sBoxInv[6a] = 68 (and not 5e as it should be).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top