~ubuntu-branches/ubuntu/vivid/nodejs/vivid

« back to all changes in this revision

Viewing changes to doc/api/crypto.html

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-11-13 23:17:51 UTC
  • mfrom: (1.1.29)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20131113231751-m6uqywp5dc4s4fxo
Tags: 0.10.22~dfsg1-1
* Upstream update. 
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html lang="en">
3
3
<head>
4
4
  <meta charset="utf-8">
5
 
  <title>Crypto Node.js v0.10.21 Manual &amp; Documentation</title>
 
5
  <title>Crypto Node.js v0.10.22 Manual &amp; Documentation</title>
6
6
  <link rel="stylesheet" href="assets/style.css">
7
7
  <link rel="stylesheet" href="assets/sh.css">
8
8
  <link rel="canonical" href="http://nodejs.org/api/crypto.html">
31
31
 
32
32
        <div id="column1" class="interior">
33
33
          <header>
34
 
            <h1>Node.js v0.10.21 Manual &amp; Documentation</h1>
 
34
            <h1>Node.js v0.10.22 Manual &amp; Documentation</h1>
35
35
            <div id="gtoc">
36
36
              <p>
37
37
                <a href="index.html" name="toc">Index</a> |
222
222
<p>Updates the hash content with the given <code>data</code>, the encoding of which
223
223
is given in <code>input_encoding</code> and can be <code>&#39;utf8&#39;</code>, <code>&#39;ascii&#39;</code> or
224
224
<code>&#39;binary&#39;</code>.  If no encoding is provided, then a buffer is expected.
 
225
If <code>data</code> is a <code>Buffer</code> then <code>input_encoding</code> is ignored.
225
226
 
226
227
</p>
227
228
<p>This can be called many times with new data as it is streamed.
324
325
<p>Updates the cipher with <code>data</code>, the encoding of which is given in
325
326
<code>input_encoding</code> and can be <code>&#39;utf8&#39;</code>, <code>&#39;ascii&#39;</code> or <code>&#39;binary&#39;</code>.  If no
326
327
encoding is provided, then a buffer is expected.
 
328
If <code>data</code> is a <code>Buffer</code> then <code>input_encoding</code> is ignored.
327
329
 
328
330
</p>
329
331
<p>The <code>output_encoding</code> specifies the output format of the enciphered
381
383
<p>Updates the decipher with <code>data</code>, which is encoded in <code>&#39;binary&#39;</code>,
382
384
<code>&#39;base64&#39;</code> or <code>&#39;hex&#39;</code>.  If no encoding is provided, then a buffer is
383
385
expected.
 
386
If <code>data</code> is a <code>Buffer</code> then <code>input_encoding</code> is ignored.
384
387
 
385
388
</p>
386
389
<p>The <code>output_decoding</code> specifies in what format to return the
691
694
            <li><a href="http://twitter.com/nodejs" class="twitter">@nodejs</a></li>
692
695
        </ul>
693
696
 
694
 
        <p>Copyright <a href="http://joyent.com/">Joyent, Inc</a>, Node.js is a <a href="/trademark-policy.pdf">trademark</a> of Joyent, Inc. View <a href="https://raw.github.com/joyent/node/v0.10.21/LICENSE">license</a>.</p>
 
697
        <p>Copyright <a href="http://joyent.com/">Joyent, Inc</a>, Node.js is a <a href="/trademark-policy.pdf">trademark</a> of Joyent, Inc. View <a href="https://raw.github.com/joyent/node/v0.10.22/LICENSE">license</a>.</p>
695
698
    </div>
696
699
 
697
700
  <script src="../sh_main.js"></script>