diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index bc77020028a41d..e1852ff25252e0 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.