new EncDecRes tested with identity permutation