Skip to content

Commit

Permalink
doc: fix createCipher description
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor Norris <[email protected]>
  • Loading branch information
mscdex authored and trevnorris committed Jul 2, 2014
1 parent 9cbfd6e commit c7c904b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c7c904b

Please sign in to comment.