用AES加密时,ZIP文件中各个文件的解密头是怎么来生成的

用AES加密时,ZIP文件中各个文件的解密头是如何来生成的。
有源代码,有文档资料都可以。希望详细一点。

------解决方案--------------------
http://csrc.nist.gov/encryption/aes/rijndael/Rijndael.pdf
------解决方案--------------------
Archive decryption header:

The Archive Decryption Header is introduced in version 6.2
of the ZIP format specification. This record exists in support
of the Central Directory Encryption Feature implemented as part of
the Strong Encryption Specification as described in this document.
When the Central Directory Structure is encrypted, this decryption
header will precede the encrypted data segment. The encrypted
data segment will consist of the Archive extra data record (if
present) and the encrypted Central Directory Structure data.
The format of this data record is identical to the Decryption
header record preceding compressed file data. If the central
directory structure is encrypted, the location of the start of
this data record is determined using the Start of Central Directory
field in the Zip64 End of Central Directory record. Refer to the
section on the Strong Encryption Specification for information
on the fields used in the Archive Decryption Header record.

------解决方案--------------------
不过我觉得因该不用每个文件都生成解密头吧~密匙一个就好,应该是放在header里面的~
------解决方案--------------------
zip标准文档见www.pkzip.com