diff --git a/doc/api/crypto.md b/doc/api/crypto.md index dff4142fd4a..f93a03277b4 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -5546,12 +5546,12 @@ console.log(receivedPlaintext); ``` ```cjs +const { Buffer } = require('buffer'); const { createCipheriv, createDecipheriv, randomBytes, } = require('crypto'); -const { Buffer } = require('buffer'); const key = 'keykeykeykeykeykeykeykey'; const nonce = randomBytes(12);