1. A method for encrypting data stored in a swap area, the method comprising: performing the following in a computing device having a volatile memory and a non-volatile memory: loading an application in the volatile memory, wherein the application is loaded in the volatile memory by: copying application code for the application from the non-volatile memory into the volatile memory; executing the application code from the volatile memory, wherein executing the application code creates application data; and storing the application data in the volatile memory; and moving the application data for the application from the volatile memory to the non-volatile memory during a swap operation; wherein the application data is encrypted before it is stored in the non-volatile memory.