Plaintext grouping