doc: fix createCipher description
authorBrian White <mscdex@mscdex.net>
Mon, 30 Jun 2014 15:06:47 +0000 (11:06 -0400)
committerTrevor Norris <trev.norris@gmail.com>
Wed, 2 Jul 2014 20:02:46 +0000 (13:02 -0700)
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
doc/api/crypto.markdown

index 5323e12..9ca6f22 100644 (file)
@@ -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)