Text this: S-box construction from non-permutation power functions