Patent attributes
A method of operating a controller that controls a non-volatile memory device having a first memory block and a second memory block. The controller may detect invalid data of the first memory block, determine whether the detected invalid data is less than a reference value, and execute a secure erase operation of changing a voltage distribution of the detected invalid data based on a result of the determination. According to this method, it may be possible to enhance security of data stored in the non-volatile memory device, to prevent a physical erase operation from being excessively performed, and to increase the life span of the non-volatile memory device.