Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2014-06-30 19:06:47 +0400
committerTrevor Norris <trev.norris@gmail.com>2014-07-03 00:02:46 +0400
commitc7c904b1fc84aed16eea35bf02d5bd5b52c575f7 (patch)
tree4f072d4370ac5a248668723fc61f2e0a46c7440a
parent9cbfd6ef51899dd869a8ec809766cf06d14c9a36 (diff)
doc: fix createCipher description
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
-rw-r--r--doc/api/crypto.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown
index 5323e128a6f..9ca6f22cf71 100644
--- a/doc/api/crypto.markdown
+++ b/doc/api/crypto.markdown
@@ -162,8 +162,8 @@ which must be a `'binary'` encoded string or a [buffer](buffer.html).
It is a [stream](stream.html) that is both readable and writable. The
written data is used to compute the hash. Once the writable side of
-the stream is ended, use the `read()` method to get the computed hash
-digest. The legacy `update` and `digest` methods are also supported.
+the stream is ended, use the `read()` method to get the enciphered
+contents. The legacy `update` and `final` methods are also supported.
## crypto.createCipheriv(algorithm, key, iv)