Step

q

q

e

y

q 1

a

(the output of S-box)

This work

11110000

01000001

1100

0101

00100111

10001100

Standard S-box

11110000

-

-

-

-

10001100