From f707189370e48eb7267034095f8c6127fc8ca9b2 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Fri, 14 Aug 2015 16:08:57 -0700 Subject: [PATCH] doc: minor grammatical update Per: https://github.com/joyent/node/pull/9009 Originally submitted by @peerwit Reviewed By: Sakthipriyan Vairamani PR-URL: https://github.com/nodejs/node/pull/2378 --- doc/api/crypto.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 267e0359f26a81..0550b4354494db 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -135,7 +135,7 @@ Returned by `crypto.createHash`. Updates the hash content with the given `data`, the encoding of which is given in `input_encoding` and can be `'utf8'`, `'ascii'` or -`'binary'`. If no encoding is provided and the input is a string an +`'binary'`. If no encoding is provided, and the input is a string, an encoding of `'binary'` is enforced. If `data` is a `Buffer` then `input_encoding` is ignored.