diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 7b7a5b1f5dfa2e..cc9838e9625bb5 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -422,7 +422,7 @@ changes: When using an authenticated encryption mode (only `GCM` is currently supported), the `decipher.setAuthTag()` method is used to pass in the received _authentication tag_. If no tag is provided, or if the cipher text -has been tampered with, [`decipher.final()`][] with throw, indicating that the +has been tampered with, [`decipher.final()`][] will throw, indicating that the cipher text should be discarded due to failed authentication. The `decipher.setAuthTag()` method must be called before