reference/mcrypt/functions/mcrypt-decrypt.xml
5fabd07880ab15b0ad2cf7eb055c7c2b36d7120f
...
...
@@ -11,7 +11,7 @@
11
11
<refsect1 role="description">
12
12
&reftitle.description;
13
13
<methodsynopsis>
14
-
<type>string</type><methodname>mcrypt_decrypt</methodname>
14
+
<type class="union"><type>string</type><type>false</type></type><methodname>mcrypt_decrypt</methodname>
15
15
<methodparam><type>string</type><parameter>cipher</parameter></methodparam>
16
16
<methodparam><type>string</type><parameter>key</parameter></methodparam>
17
17
<methodparam><type>string</type><parameter>data</parameter></methodparam>
...
...
@@ -74,33 +74,6 @@
74
74
</para>
75
75
</refsect1>
76
76

77
-
<refsect1 role="changelog">
78
-
&reftitle.changelog;
79
-
<para>
80
-
<informaltable>
81
-
<tgroup cols="2">
82
-
<thead>
83
-
<row>
84
-
<entry>&Version;</entry>
85
-
<entry>&Description;</entry>
86
-
</row>
87
-
</thead>
88
-
<tbody>
89
-
<row>
90
-
<entry>5.6.0</entry>
91
-
<entry>
92
-
Invalid <parameter>key</parameter> and <parameter>iv</parameter> sizes
93
-
are no longer accepted. <function>mcrypt_decrypt</function> will now throw
94
-
a warning and return &false; if the inputs are invalid. Previously keys and
95
-
IVs were padded with '<literal>\0</literal>' bytes to the next valid size.
96
-
</entry>
97
-
</row>
98
-
</tbody>
99
-
</tgroup>
100
-
</informaltable>
101
-
</para>
102
-
</refsect1>
103
-

104
77
<refsect1 role="seealso">
105
78
&reftitle.seealso;
106
79
<para>
107
80