Home | Trees | Indices | Help |
|
---|
|
Class to handle decryption of files stored within a ZIP archive.
ZIP supports a password-based form of encryption. Even though known plaintext attacks have been found against it, it is still useful to be able to get data out of such a file.
Usage :
zd = _ZipDecrypter(mypwd) plain_char = zd(cypher_char) plain_text = map(zd, cypher_text)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
crctable =
|
|
Generate a CRC-32 table. ZIP encryption uses the CRC32 one-byte primitive for scrambling some internal keys. We noticed that a direct implementation is faster than relying on binascii.crc32(). |
|
crctable
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 22 10:48:41 2009 | http://epydoc.sourceforge.net |