further simplify sbox hashing. shorten function names. be consistent with constants.