reference/strings/functions/md5.xml
e095023e408c8cb6378ae16bb6870343a3946919
...
...
@@ -14,11 +14,11 @@
14
14
&reftitle.description;
15
15
<methodsynopsis>
16
16
<type>string</type><methodname>md5</methodname>
17
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
18
-
<methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
17
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
18
+
<methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
19
19
</methodsynopsis>
20
20
<para>
21
-
Calculates the MD5 hash of <parameter>str</parameter> using the
21
+
Calculates the MD5 hash of <parameter>string</parameter> using the
22
22
<link xlink:href="&url.rfc;1321">RSA Data Security, Inc.
23
23
MD5 Message-Digest Algorithm</link>, and returns that hash.
24
24
</para>
...
...
@@ -29,7 +29,7 @@
29
29
<para>
30
30
<variablelist>
31
31
<varlistentry>
32
-
<term><parameter>str</parameter></term>
32
+
<term><parameter>string</parameter></term>
33
33
<listitem>
34
34
<para>
35
35
The string.
...
...
@@ -37,10 +37,10 @@
37
37
</listitem>
38
38
</varlistentry>
39
39
<varlistentry>
40
-
<term><parameter>raw_output</parameter></term>
40
+
<term><parameter>binary</parameter></term>
41
41
<listitem>
42
42
<para>
43
-
If the optional <parameter>raw_output</parameter> is set to &true;,
43
+
If the optional <parameter>binary</parameter> is set to &true;,
44
44
then the md5 digest is instead returned in raw binary format with a
45
45
length of 16.
46
46
</para>
...
...
@@ -93,7 +93,6 @@ if (md5($str) === '1f3870be274f6c49b3e31a0c6728957f') {
93
93
</refsect1>
94
94

95
95
</refentry>
96
-

97
96
<!-- Keep this comment at the end of the file
98
97
Local variables:
99
98
mode: sgml
100
99