Patent ID: 8380983

Claim:
A file encryption system, comprising: a storage system storing a test file; at least one processor; and a file encryption unit being executable by the at least one processor, the file encryption unit comprising: a receiving module to receive a login request of a user from a client computer to encrypt the test file; a determination module to determine if a certificate authority (CA) certificate of the user obtained from a CA server is valid; a conversion module to convert the test file into a compressed file having a specific format by a file encryption server, in response to a determination that the CA certificate of the user is valid; an obtaining module to send a search request to the CA server to obtain a public key of the CA certificate of the user; a generation module to generate a random key using a random function; and an encryption module to symmetrically encrypt the compressed file using the random key, asymmetrically encrypt the random key using the public key to generate an asymmetric encryption key, and attach the asymmetric encryption key and data length of the asymmetric encryption key to a header of the compressed file.