Patent ID: 8375225

Claim:
A data storage device, comprising: a buffer; and a buffer client, the buffer client comprising: a scrambler configured to receive a configuration setting and a secret key on a certain event, to configure a scrambling function based on the received configuration setting, and to scramble data with the secret key using the scrambling function, wherein the event is a power cycle of the data storage device, and the secret key changes for each power cycle of the data storage device; a descrambler; and an arithmetic unit, wherein: the buffer client is configured to write the scrambled data to the buffer, to read scrambled data from the buffer, and to read first and second scrambled data blocks from the buffer, the descrambler is configured to descramble the read scrambled data, and to descramble the first and second scrambled data blocks, the arithmetic unit is configured to perform a logic operation on the descrambled first and second data blocks to produce a third data block, the scrambler is configured to scramble the third data block, and the buffer client is configured to write the scrambled third data block to the buffer.