added substitution with SBoxes