From 4fad3714c8ec078e661e07fb99a210dfbc3ee225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Mon, 21 Mar 2022 15:31:51 +0100 Subject: [PATCH] doc: unify import order in CCM example Refs: https://github.com/nodejs/node/pull/39043 PR-URL: https://github.com/nodejs/node/pull/42394 Reviewed-By: Rich Trott Reviewed-By: Richard Lau Reviewed-By: Mestery Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Akhil Marsonya Reviewed-By: Darshan Sen --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);