Patent ID: 8713330
Filing Date: 2014-04-29
Classification: G06F

Abstract:
1. A method for data storage, comprising: encoding data for storage in a memory device with an Error Correction Code (ECC); encoding a given scrambling seed with the ECC; scrambling the encoded data dependent upon the encoded scrambling seed; determining a statistical distribution of the scrambled encoded data; computing a measure of randomness of the scrambled encoded data dependent upon the determined statistical distribution; and modifying a scrambling configuration of the scrambled encoded data dependent upon the computed measure of randomness; storing the encoded data having the modified scrambling configuration in the memory device; wherein scrambling the encoded data comprises: encoding two or more candidate scrambling seeds with the ECC; scrambling the encoded data with each of the two or more encoded candidate scrambling seeds, to create a respective two or more scrambled encoded data; wherein computing the measure of randomness comprises computing a respective level of randomness for each of the respective two or more scrambled encoded data; and wherein modifying the scrambling configuration comprises selecting one of the respective two or more scrambled encoded data dependent upon the respective levels of randomness.