Skip to content

Commit a191392

Browse files
committed
Enable (and fix) hash functions for WASM
1 parent b5f0495 commit a191392

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

reference/hash/book.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<book xml:id="book.hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<book xml:id="book.hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="interactive">
44
<?phpdoc extension-membership="core" ?>
55
<title>HASH Message Digest Framework</title>
66
<titleabbrev>Hash</titleabbrev>

reference/hash/functions/hash-hkdf.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@
125125

126126
<refsect1 role="examples">
127127
&reftitle.examples;
128+
<para>
129+
The example below produces a pair of separate keys, suitable for creation
130+
of an encrypt-then-HMAC construct, using AES-256 and SHA-256 for encryption
131+
and authentication respectively.
132+
</para>
128133
<para>
129134
<example>
130135
<title><function>hash_hkdf</function> example</title>
@@ -143,11 +148,6 @@ var_dump($encryptionKey !== $authenticationKey); // bool(true)
143148
?>
144149
]]>
145150
</programlisting>
146-
<para>
147-
The above example produces a pair of separate keys, suitable for creation of an
148-
encrypt-then-HMAC construct, using AES-256 and SHA-256 for encryption and
149-
authentication respectively.
150-
</para>
151151
</example>
152152
</para>
153153
</refsect1>

reference/hash/functions/hash-update-stream.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ echo hash_final($ctx);
114114
<simplelist>
115115
<member><function>hash_init</function></member>
116116
<member><function>hash_update</function></member>
117-
<member><function>hash_update_stream</function></member>
118117
<member><function>hash_final</function></member>
119118
</simplelist>
120119
</para>

0 commit comments

Comments
 (0)