crc32(key(0),char)

Decryption in zip file

Posted 08 June 2005 - 02:44 AM

hi, i'm currently making a php to unzip zip files on a server. I've come accross some zip files that is encrypted with traditional PKWARE Encryption.
Although this document provides the pseudo code to decrypt the files, i cannot successfully change it into php. The main problem is that it needs a function called crc32(key(0),char) and i don't know how to write this function out. Please help me. Thank you very much.