Method for strongly encrypting .ZIP files
The present invention provides a method of integrating existing strong encryption methods into the processing of a .ZIP file to provide a highly secure data container which provides flexibility in the use of symmetric and asymmetric encryption technology. The present invention adapts the well-established .ZIP file format to support higher levels of security and multiple methods of data encryption and key management, thereby producing a highly secure and flexible digital container for electronically storing and transferring confidential data.
1. A method of retrieving a desired data file from a .zip file format data container, said method including:
receiving a data container constructed in accordance with a .Zip file format, wherein said data container includes:
an encrypted data file;
encrypted random data;
a first asymmetric key data; and
a second asymmetric key data;
receiving one of a first asymmetric key and a second asymmetric key,
wherein, when said first asymmetric key is received, said first asymmetric key is used to decrypt said first asymmetric key data to determine a second symmetric key,
wherein, when said second asymmetric key is received, said second asymmetric key is used to decrypt said second asymmetric key data to determine said second symmetric key;
decrypting said encrypted random data using said second symmetric key to determine a first symmetric key; and
decrypting said encrypted data file using said first symmetric key to determine a desired data file.