1. An apparatus comprising: an on-die processor memory; and a compression-de-compression logic, at least a portion of which is in hardware, the compression-de-compression logic to: receive a cache line to fill a cache included in the on-die processor memory, the cache arranged to store cryptographic metadata, the cache line including a counter value generated by a counter that generates counter values having temporal patterns, the counter value to serve as cache line version information during a write to a memory location of an off-die memory; compress the counter value based on whether the counter value includes a pattern that matches a given pattern included in a dictionary maintained in the cache and/or based on whether the counter value includes a spatial run of repeated characters or character patterns; and store the compressed counter value to the cache.