output.sql.gz 3) You may then want to gunzip the resulting file to have a standard SQL file. e.g. gunzip output.sql.gz */ function rijndael_decrypt_file($file, $key) { require_once(dirname(__FILE__).'/includes/Rijndael.php'); $rijndael = new Crypt_Rijndael(); $rijndael->setKey($key); $in_handle = fopen($file,'r'); $ciphertext = ""; while (!feof ($in_handle)) { $ciphertext .= fread($in_handle, 16384); } fclose ($in_handle); print $rijndael->decrypt($ciphertext); } ?>