mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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 <rtrott@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
1 parent
4e2fefc2d0
commit
298cc8212a
1 file changed
+1
-1
+1
-1
@@ -5652,12 +5652,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);
|
||||
|
||||
Reference in new issue
Block a user