svn: /phpdoc/ja/trunk/reference/openssl/functions/ openssl-encrypt.xml

[email protected] (Yoshinari Takaoka) Mon, 28 Dec 2020 21:27:03 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Mon, 28 Dec 2020 21:27:03 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352257

Log:
Fix #80430: openssl_encrypt() is not verifying that key is present or not

Bug: https://bugs.php.net/80430 (Closed) openssl_encrypt() is not verifying that key is present or not.
      
Changed paths:
    U   phpdoc/ja/trunk/reference/openssl/functions/openssl-encrypt.xml

Modified: phpdoc/ja/trunk/reference/openssl/functions/openssl-encrypt.xml
===================================================================
--- phpdoc/ja/trunk/reference/openssl/functions/openssl-encrypt.xml	2020-12-28 21:20:37 UTC (rev 352256)
+++ phpdoc/ja/trunk/reference/openssl/functions/openssl-encrypt.xml	2020-12-28 21:27:03 UTC (rev 352257)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 352242 Maintainer: satoruyoshida Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.openssl-encrypt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -52,7 +52,11 @@
      <term><parameter>key</parameter></term>
      <listitem>
       <para>
-       キー
+       パスフレーズ。
+       期待された長さより短かった場合は、
+       黙って<literal>NUL</literal> 文字で埋められます。
+       期待された長さより長かった場合は、
+       黙って切り詰められます。
       </para>
      </listitem>
     </varlistentry>