Operations before implementing S-BOXES