svn: /phpdoc/ja/trunk/reference/ hash/functions/hash-file.xml hash/functions/hash-final.xml hash/functions/hash-hkdf.xml hash/functions/hash-hmac-file.xml hash/functions/hash-hmac.xml hash/functions/hash-init.xml hash/functions/hash-pbkdf2.xml hash/functions/hash-update-file.xml hash/functions/hash-update-stream.xml hash/functions/hash.xml mhash/functions/mhash-get-block-size.xml mhash/functions/mhash-get-hash-name.xml mhash/functions/mhash-keygen-s2k.xml mhash/functions/mhash.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Wed, 18 Nov 2020 23:36:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351437 Log: Generate hash methodsynopses based on stubs Patch contributed by Máté Kocsis <[email protected]>. Changed paths: U phpdoc/ja/trunk/reference/hash/functions/hash-file.xml U phpdoc/ja/trunk/reference/hash/functions/hash-final.xml U phpdoc/ja/trunk/reference/hash/functions/hash-hkdf.xml U phpdoc/ja/trunk/reference/hash/functions/hash-hmac-file.xml U phpdoc/ja/trunk/reference/hash/functions/hash-hmac.xml U phpdoc/ja/trunk/reference/hash/functions/hash-init.xml U phpdoc/ja/trunk/reference/hash/functions/hash-pbkdf2.xml U phpdoc/ja/trunk/reference/hash/functions/hash-update-file.xml U phpdoc/ja/trunk/reference/hash/functions/hash-update-stream.xml U phpdoc/ja/trunk/reference/hash/functions/hash.xml U phpdoc/ja/trunk/reference/mhash/functions/mhash-get-block-size.xml U phpdoc/ja/trunk/reference/mhash/functions/mhash-get-hash-name.xml U phpdoc/ja/trunk/reference/mhash/functions/mhash-keygen-s2k.xml U phpdoc/ja/trunk/reference/mhash/functions/mhash.xml
svn-diffs-351437.txt
(text/x-diff, 32.3 KB)
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-file.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-file.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-file.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349408 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-file" xmlns="http://docbook.org/ns/docbook">
@@ -11,10 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash_file</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash_file</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -41,7 +41,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
&true; を設定すると、生のバイナリデータを出力します。
@@ -56,7 +56,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>raw_output</parameter> が true に設定されていない場合は、
+ <parameter>binary</parameter> が true に設定されていない場合は、
メッセージダイジェストの計算結果を小文字の 16 進数値形式の文字列で
返します。もし true に設定されていた場合は、メッセージダイジェストが
そのままのバイナリ形式で返されます。
@@ -102,7 +102,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-final.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-final.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-final.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344006 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-final" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<type>string</type><methodname>hash_final</methodname>
<methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -29,7 +29,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
&true; を設定すると、生のバイナリデータを出力します。
@@ -44,7 +44,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>raw_output</parameter> が true に設定されていない場合は、
+ <parameter>binary</parameter> が true に設定されていない場合は、
メッセージダイジェストの計算結果を小文字の 16 進数値形式の文字列で
返します。もし true に設定されていた場合は、メッセージダイジェストが
そのままのバイナリ形式で返されます。
@@ -112,7 +112,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-hkdf.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-hkdf.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-hkdf.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342645 Maintainer: mumumu Status: ready -->
-<refentry xml:id="function.hash-hkdf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<!-- EN-Revision: 351417 Maintainer: mumumu Status: ready -->
+<refentry xml:id="function.hash-hkdf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>hash_hkdf</refname>
<refpurpose>与えられたキーから導出されるHKDFキーを生成する</refpurpose>
@@ -11,10 +11,10 @@
<methodsynopsis>
<type>string</type><methodname>hash_hkdf</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
- <methodparam><type>string</type><parameter>ikm</parameter></methodparam>
+ <methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>info</parameter><initializer>''</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>salt</parameter><initializer>''</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>info</parameter><initializer>""</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>salt</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -37,7 +37,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>ikm</parameter></term>
+ <term><parameter>key</parameter></term>
<listitem>
<para>
入力キー (生のバイナリ)。
@@ -94,7 +94,7 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
- <parameter>ikm</parameter> が空の場合だったり、
+ <parameter>key</parameter> が空の場合だったり、
<parameter>algo</parameter> が未知だったり/暗号に適さなかったり、
<parameter>length</parameter> が0より小さいか大きすぎる
(ハッシュ関数のサイズの255倍より大きい)場合、
@@ -143,7 +143,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-hmac-file.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-hmac-file.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-hmac-file.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344350 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-hmac-file" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash_hmac_file</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash_hmac_file</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
- <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>filename</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
ハッシュ対象となるファイルの位置を示す URL。
@@ -50,7 +50,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
&true; を設定すると、生のバイナリデータを出力します。
@@ -65,13 +65,13 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>raw_output</parameter> が true に設定されていない場合は、
+ <parameter>binary</parameter> が true に設定されていない場合は、
メッセージダイジェストの計算結果を小文字の 16 進数値形式の文字列で
返します。もし true に設定されていた場合は、メッセージダイジェストが
そのままのバイナリ形式で返されます。
<parameter>algo</parameter> が不明な場合や、
暗号に適さないハッシュ関数の場合、
- または <parameter>filename</parameter> が読めない場合は、&false; が返されます。
+ または <parameter>data</parameter> が読めない場合は、&false; が返されます。
</para>
</refsect1>
@@ -134,7 +134,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-hmac.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-hmac.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-hmac.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344350 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-hmac" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash_hmac</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash_hmac</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -49,7 +49,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
&true; を設定すると、生のバイナリデータを出力します。
@@ -64,7 +64,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>raw_output</parameter> が true に設定されていない場合は、
+ <parameter>binary</parameter> が true に設定されていない場合は、
メッセージダイジェストの計算結果を小文字の 16 進数値形式の文字列で
返します。もし true に設定されていた場合は、メッセージダイジェストが
そのままのバイナリ形式で返されます。
@@ -130,7 +130,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-init.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-init.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-init.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344006 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-init" xmlns="http://docbook.org/ns/docbook">
@@ -13,8 +13,8 @@
<methodsynopsis>
<type>HashContext</type><methodname>hash_init</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>key</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>key</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>options</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
ハッシュ生成の際に使用するオプションで、現在は、ただひとつ
@@ -46,7 +46,7 @@
<term><parameter>key</parameter></term>
<listitem>
<para>
- <parameter>options</parameter> に <constant>HASH_HMAC</constant>
+ <parameter>flags</parameter> に <constant>HASH_HMAC</constant>
が指定された場合に、HMAC 形式のハッシュで使用される共有の秘密鍵を
設定する必要があります。
</para>
@@ -133,7 +133,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-pbkdf2.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-pbkdf2.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-pbkdf2.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: masakielastic Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: masakielastic Status: ready -->
<!-- Reviewed: no -->
<!-- Credits: mumumu -->
-<refentry xml:id="function.hash-pbkdf2" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.hash-pbkdf2">
<refnamediv>
<refname>hash_pbkdf2</refname>
<refpurpose>PBKDF2 を使ってパスワードからキーを生成する</refpurpose>
@@ -19,7 +19,7 @@
<methodparam><type>string</type><parameter>salt</parameter></methodparam>
<methodparam><type>int</type><parameter>iterations</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -65,15 +65,15 @@
<term><parameter>length</parameter></term>
<listitem>
<para>
- 出力する文字列の長さ。<parameter>raw_output</parameter> が &true;
+ 出力する文字列の長さ。<parameter>binary</parameter> が &true;
の場合、これは派生キーのバイト長になります。
- <parameter>raw_output</parameter> が &false; の場合、
+ <parameter>binary</parameter> が &false; の場合、
これは派生キーのバイト長の二倍になります (キーの全バイトが十六進二桁で返されるからです)。
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
&true; にセットされている場合、名前のバイナリデータが出力されます。&false; の場合、小文字の16進数が出力されます。
@@ -87,7 +87,7 @@
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
- 小文字の16進数を含む文字列が返されます。<parameter>raw_output</parameter> が &true; の場合、派生キーの生のバイナリ表現が返されます。
+ 小文字の16進数を含む文字列が返されます。<parameter>binary</parameter> が &true; の場合、派生キーの生のバイナリ表現が返されます。
</para>
</refsect1><!-- }}} -->
@@ -183,7 +183,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-update-file.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-update-file.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-update-file.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344006 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-update-file" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -13,9 +13,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>hash_update_file</methodname>
- <methodparam><type>HashContext</type><parameter>hcontext</parameter></methodparam>
+ <methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>resource</type><parameter>scontext</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>stream_context</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -24,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hcontext</parameter></term>
+ <term><parameter>context</parameter></term>
<listitem>
<para>
<function>hash_init</function> が返すハッシュコンテキスト。
@@ -41,7 +41,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>scontext</parameter></term>
+ <term><parameter>stream_context</parameter></term>
<listitem>
<para>
<function>stream_context_create</function> が返す
@@ -73,6 +73,12 @@
</thead>
<tbody>
<row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>stream_context</parameter> は、null を受け入れるようになりました。
+ </entry>
+ </row>
+ <row>
<entry>7.2.0</entry>
<entry>
リソースの代わりに <classname>HashContext</classname> を受け入れるようになりました。
@@ -99,7 +105,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash-update-stream.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash-update-stream.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash-update-stream.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344006 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash-update-stream" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -15,7 +15,7 @@
<methodsynopsis>
<type>int</type><methodname>hash_update_stream</methodname>
<methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
- <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>-1</initializer></methodparam>
</methodsynopsis>
@@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>handle</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
ストリーム作成用の関数が返す、オープンしているファイルハンドル。
@@ -44,7 +44,7 @@
<term><parameter>length</parameter></term>
<listitem>
<para>
- <parameter>handle</parameter> からハッシュコンテキストにコピーする
+ <parameter>stream</parameter> からハッシュコンテキストにコピーする
最大文字数。
</para>
</listitem>
@@ -56,7 +56,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>handle</parameter> からハッシュコンテキストに追加された
+ <parameter>stream</parameter> からハッシュコンテキストに追加された
実際のバイト数を返します。
</para>
</refsect1>
@@ -127,7 +127,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/hash/functions/hash.xml
===================================================================
--- phpdoc/ja/trunk/reference/hash/functions/hash.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/hash/functions/hash.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.hash" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -39,7 +39,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
&true; を設定すると、生のバイナリデータを出力します。
@@ -54,7 +54,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>raw_output</parameter> が true に設定されていない場合は、
+ <parameter>binary</parameter> が true に設定されていない場合は、
メッセージダイジェストの計算結果を小文字の 16 進数値形式の文字列で
返します。もし true に設定されていた場合は、メッセージダイジェストが
そのままのバイナリ形式で返されます。
@@ -137,7 +137,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/mhash/functions/mhash-get-block-size.xml
===================================================================
--- phpdoc/ja/trunk/reference/mhash/functions/mhash-get-block-size.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/mhash/functions/mhash-get-block-size.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.mhash-get-block-size" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mhash_get_block_size</refname>
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>mhash_get_block_size</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>mhash_get_block_size</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
</methodsynopsis>
<para>
- 指定した <parameter>hash</parameter> のブロックサイズを取得します。
+ 指定した <parameter>algo</parameter> のブロックサイズを取得します。
</para>
</refsect1>
@@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
ハッシュ ID。<constant>MHASH_ハッシュ名</constant>
@@ -38,7 +38,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- サイズをバイト数で返します。<parameter>hash</parameter>
+ サイズをバイト数で返します。<parameter>algo</parameter>
が存在しない場合は &false; を返します。
</para>
</refsect1>
@@ -61,7 +61,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/mhash/functions/mhash-get-hash-name.xml
===================================================================
--- phpdoc/ja/trunk/reference/mhash/functions/mhash-get-hash-name.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/mhash/functions/mhash-get-hash-name.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.mhash-get-hash-name" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mhash_get_hash_name</refname>
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>mhash_get_hash_name</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>mhash_get_hash_name</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
</methodsynopsis>
<para>
- 指定した <parameter>hash</parameter> の名前を取得します。
+ 指定した <parameter>algo</parameter> の名前を取得します。
</para>
</refsect1>
@@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
ハッシュ ID。<constant>MHASH_ハッシュ名</constant>
@@ -61,7 +61,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/mhash/functions/mhash-keygen-s2k.xml
===================================================================
--- phpdoc/ja/trunk/reference/mhash/functions/mhash-keygen-s2k.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/mhash/functions/mhash-keygen-s2k.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: hirokawa Status: ready -->
-<refentry xml:id="function.mhash-keygen-s2k" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<!-- EN-Revision: 351417 Maintainer: hirokawa Status: ready -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.mhash-keygen-s2k">
<refnamediv>
<refname>mhash_keygen_s2k</refname>
<refpurpose>キーを生成する</refpurpose>
@@ -10,14 +10,14 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>mhash_keygen_s2k</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>mhash_keygen_s2k</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam><type>string</type><parameter>salt</parameter></methodparam>
- <methodparam><type>int</type><parameter>bytes</parameter></methodparam>
+ <methodparam><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<para>
- <parameter>hash</parameter>
+ <parameter>algo</parameter>
にユーザーが指定した <parameter>password</parameter>
を用いてキーを生成します。
</para>
@@ -40,7 +40,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
キーの作成に使用するハッシュ ID。<constant>MHASH_ハッシュ名</constant>
@@ -69,7 +69,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>bytes</parameter></term>
+ <term><parameter>length</parameter></term>
<listitem>
<para>
キーの長さをバイト数で指定します。
@@ -87,7 +87,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/mhash/functions/mhash.xml
===================================================================
--- phpdoc/ja/trunk/reference/mhash/functions/mhash.xml 2020-11-18 23:16:41 UTC (rev 351436)
+++ phpdoc/ja/trunk/reference/mhash/functions/mhash.xml 2020-11-18 23:36:00 UTC (rev 351437)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.mhash" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mhash</refname>
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
ハッシュ ID。<constant>MHASH_ハッシュ名</constant>
@@ -67,8 +67,32 @@
エラー時は &false; を返します。
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>key</parameter> は、null を受け入れるようになりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml