You are here

function PclZip::privDecrypt in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/lib/pclzip/pclzip.lib.php \PclZip::privDecrypt()

File

includes/moodle/lib/pclzip/pclzip.lib.php, line 5312

Class

PclZip

Code

function privDecrypt($p_encryption_header, &$p_buffer, $p_size, $p_crc) {

  //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, 'PclZip::privDecrypt', "size=".$p_size."");
  $v_result = 1;

  // ----- To Be Modified ;-)
  $v_pwd = "test";
  $p_buffer = PclZipUtilZipDecrypt($p_buffer, $p_size, $p_encryption_header, $p_crc, $v_pwd);

  // ----- Return

  //--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
  return $v_result;
}