Patent ID: 7596695

Claim:
An application-based data encryption system, comprising: a first executable file, further comprising a first file header and a first program code, wherein the first file header comprises a first encryption bit; a second executable file, further comprising a second file header, a second program code, and an encrypted application key, wherein the second file header comprises a second encryption bit; a system key; a program security utility, further comprising: a key generation model, providing an application key; and a key encryption model, encrypting the application key utilizing the system key to generate the encrypted application key; wherein the program security utility processes the first executable file to generate the second executable file; and a crypto operating system, decrypting the encrypted application key using the system key, further comprising: a file management system, further comprising: a virtual file system, when the file management system receives a write system call corresponding to an application, determining a file system to which a file to be written for the application belongs and then passing a write request to the determined file system; and a file system, when the write request is received, calculating a specified address of the file to be written in a storage device based on a file information data structure corresponding to the application and passing the write request; a crypto driver, receiving the write request from the file system, identifying an encryption bit of a process data structure corresponding to the application to determine whether the application is assigned a secure state, acquiring the application key from the process data structure if the application is assigned the secure state, and encrypting the file to be written utilizing the application key to generate an encrypted file; and hardware driver, retrieving the write request from the crypto driver and writing the encrypted file into the specified address of the storage device.