File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: da4977f316e4a05be800e865b979c10d19436112 Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: 22583751fbfdaa3eaa41aeb6470d1343f5cb2c78 Maintainer: takagi Status: ready -->
44<!-- Credits: mumumu -->
55
66<appendix xml : id =" filters" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
@@ -551,7 +551,7 @@ fclose($fp);
551551// 復号化する...
552552$fp = fopen('encrypted-file.enc', 'rb');
553553$iv = fread($fp, $iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, MCRYPT_MODE_CBC));
554- $opts = array('mode'=>'cbc','iv'=>$iv, 'key'=>$key)
554+ $opts = array('mode'=>'cbc','iv'=>$iv, 'key'=>$key);
555555stream_filter_append($fp, 'mdecrypt.blowfish', STREAM_FILTER_READ, $opts);
556556$data = rtrim(stream_get_contents($fp));//trims off null padding
557557fclose($fp);
You can’t perform that action at this time.
0 commit comments