diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 09e1315e82bd73..1aab292755477e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -5650,12 +5650,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);