In one embodiment of the present invention, there is disclosed, a method of handling
data which is being written to and stored in flash memory, wherein input data,
comprising information data and overhead data, undergoes a reversible transformation
before being written to flash memory whereupon each bit stored in flash memory,
as flash data, is a function of both information data and header data.