reference/mhash/examples.xml
a164d01395d708bc698c1dc106dc141757aae89f
...
...
@@ -5,7 +5,7 @@
5
5
&reftitle.examples;
6
6
<para>
7
7
<example>
8
-
<title>Compute the MD5 digest and hmac and print it out as hex</title>
8
+
<title>Computes the MD5 digest and hmac and print it out as hex</title>
9
9
<programlisting role="php">
10
10
<![CDATA[
11
11
<?php
...
...
@@ -17,15 +17,13 @@ echo "The hmac is " . bin2hex($hash) . "<br />\n";
17
17
?>
18
18
]]>
19
19
</programlisting>
20
-
<para>
21
-
This will produce:
22
-
<screen>
20
+
&example.outputs;
21
+
<screen>
23
22
<![CDATA[
24
23
The hash is d03cb659cbf9192dcd066272249f8412
25
24
The hmac is 750c783e6ab0b503eaa86e310a5db738
26
25
]]>
27
-
</screen>
28
-
</para>
26
+
</screen>
29
27
</example>
30
28
</para>
31
29
</appendix>
...
...
@@ -50,4 +48,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
50
48
vim: et tw=78 syn=sgml
51
49
vi: ts=1 sw=1
52
50
-->
53
-

54
51