Skip to content

Commit

Permalink
doc: unify import order in CCM example
Browse files Browse the repository at this point in the history
Refs: #39043

PR-URL: #42394
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
tniessen authored and juanarbol committed Apr 4, 2022
1 parent 07b38f6 commit 76be565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -5571,12 +5571,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);
Expand Down

0 comments on commit 76be565

Please sign in to comment.