encrypt both halves works