Skip to content

Commit

Permalink
doc: unify import order in CCM example
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Mar 18, 2022
1 parent adbc94c commit cb651af
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 @@ -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);
Expand Down

0 comments on commit cb651af

Please sign in to comment.