How are calculated input S-box? a) if input 1011
= 0 1 1 1
b) if input 0110
=
1 1 0 0
my answer right?
No, your answers are incorrect by my reading of the description. The leftmost bit can't change, since only the other three bits are rotated. That does make for a pretty terrible s-box, but it's an exercise anyway...