Encryption shipped around April 21, 2021 (the "Introducing Encryption" announcement), and it was opt-in per post at first, so "encrypted onchain" is a per-post flag rather than a clean date range. I don't have a documented start and end for the rolling-key period; that would take checking carrier tx formats across the chain rather than any published timeline.