Patent ID: 7706538

Claim:
A system for encrypting data to provide at-rest data encryption in a data storage device, the system comprising: a compression engine for receiving a host data stream packet and selectively generating a compressed data packet, the compressed data packet comprising a compressed component corresponding to the host data stream packet and a first set of meta data indicative of one or more characteristic of the compressed data packet; and an encryption engine in electronic communication with the compression engine for receiving an unencrypted data packet from the compression engine, wherein the unencrypted data packet comprises the compressed data packet when the compression engine generates the compressed data packet, the unencrypted data packet comprises the host data packet when the compression engine does not generate the compressed data packet, and the encryption engine generates an encrypted data packet having an encrypted component corresponding to the unencrypted data packet and a second set of meta data indicative of one or more characteristic of the encrypted data packet.