diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 5064d1a7b267b4..238e39d500cc95 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2233,7 +2233,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