diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 5e5a3914bf62c5..560059a2312e47 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -178,8 +178,8 @@ console.log(Certificate.verifySpkac(Buffer.from(spkac))); ``` ```cjs -const { Certificate } = require('node:crypto'); const { Buffer } = require('node:buffer'); +const { Certificate } = require('node:crypto'); const spkac = getSpkacSomehow(); console.log(Certificate.verifySpkac(Buffer.from(spkac))); @@ -292,8 +292,8 @@ console.log(cert.verifySpkac(Buffer.from(spkac))); ``` ```cjs -const { Certificate } = require('node:crypto'); const { Buffer } = require('node:buffer'); +const { Certificate } = require('node:crypto'); const cert = Certificate(); const spkac = getSpkacSomehow();