From cb651af15300fd62e773f7d90f26f5c798e33844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Fri, 18 Mar 2022 19:58:03 +0000 Subject: [PATCH] doc: unify import order in CCM example Refs: https://github.com/nodejs/node/pull/39043 --- 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 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);