Decryption in zip file

crc32(key(0),char)

Page 1 of 1

2 Replies - 3104 Views - Last Post: 08 June 2005 - 11:43 AM Rate Topic: -----

#1 michaelfung  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-June 05

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.

Is This A Good Question/Topic? 0
  • +

Replies To: Decryption in zip file

#2 Nova Dragoon  Icon User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 36
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Decryption in zip file

Posted 08 June 2005 - 08:14 AM

PHP has a crc32 function, however it does not take 2 arguments

http://us3.php.net/crc32
Was This Post Helpful? 0
  • +
  • -

#3 michaelfung  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-June 05

Re: Decryption in zip file

Posted 08 June 2005 - 11:43 AM

I've tried crc32(str1.str2) and crc32(str2.str1) but both of them do not give a correct result. :crazy:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1