attempting to refactor first byte decryption as special case