diff --git a/doc/api/crypto.md b/doc/api/crypto.md index ed9711cd063..fbfcadedab1 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2267,7 +2267,7 @@ const ciphertext = cipher.update(plaintext, 'utf8'); cipher.final(); const tag = cipher.getAuthTag(); -// Now transmit { ciphertext, tag }. +// Now transmit { ciphertext, nonce, tag }. const decipher = crypto.createDecipheriv('aes-192-ccm', key, nonce, { authTagLength: 16