René's URL Explorer Experiment


Title: Crypto | Node.js 26.13.0 Documentation

Open Graph Title: Crypto | Node.js 26.13.0 Documentation

Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

Open Graph Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

direct link

Domain: beta.docs.nodejs.org

og:typewebsite
og:imagehttps://nodejs.org/en/next-data/og/announcement/Node.js — Run JavaScript Everywhere

Links:

https://beta.docs.nodejs.org/
Learnhttps://nodejs.org/en/learn
Abouthttps://nodejs.org/en/about
Downloadhttps://nodejs.org/en/download
Docshttps://nodejs.org/docs/latest/api/
Bloghttps://nodejs.org/en/blog/
Contributehttps://github.com/nodejs/node/blob/main/CONTRIBUTING.md
https://github.com/nodejs/node
About this documentationhttps://beta.docs.nodejs.org/index.html
Usage and examplehttps://beta.docs.nodejs.org/synopsis.html
Asserthttps://beta.docs.nodejs.org/assert.html
Async hookshttps://beta.docs.nodejs.org/async_hooks.html
Asynchronous context trackinghttps://beta.docs.nodejs.org/async_context.html
Benchmark runnerhttps://beta.docs.nodejs.org/bench.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
C++ addonshttps://beta.docs.nodejs.org/addons.html
C++ embedder APIhttps://beta.docs.nodejs.org/embedding.html
Child processhttps://beta.docs.nodejs.org/child_process.html
Clusterhttps://beta.docs.nodejs.org/cluster.html
Command-line APIhttps://beta.docs.nodejs.org/cli.html
Consolehttps://beta.docs.nodejs.org/console.html
Cryptohttps://beta.docs.nodejs.org/crypto.html
Certificatehttps://beta.docs.nodejs.org/crypto/Certificate.html
Cipherivhttps://beta.docs.nodejs.org/crypto/Cipheriv.html
Decipherivhttps://beta.docs.nodejs.org/crypto/Decipheriv.html
DiffieHellmanhttps://beta.docs.nodejs.org/crypto/DiffieHellman.html
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto/DiffieHellmanGroup.html
ECDHhttps://beta.docs.nodejs.org/crypto/ECDH.html
Hashhttps://beta.docs.nodejs.org/crypto/Hash.html
Hmachttps://beta.docs.nodejs.org/crypto/Hmac.html
KeyObjecthttps://beta.docs.nodejs.org/crypto/KeyObject.html
Machttps://beta.docs.nodejs.org/crypto/Mac.html
Signhttps://beta.docs.nodejs.org/crypto/Sign.html
Verifyhttps://beta.docs.nodejs.org/crypto/Verify.html
X509Certificatehttps://beta.docs.nodejs.org/crypto/X509Certificate.html
crypto module methods and propertieshttps://beta.docs.nodejs.org/crypto/crypto-module-methods-and-properties.html
Debuggerhttps://beta.docs.nodejs.org/debugger.html
Deprecated APIshttps://beta.docs.nodejs.org/deprecations.html
Diagnostic reporthttps://beta.docs.nodejs.org/report.html
Diagnostics Channelhttps://beta.docs.nodejs.org/diagnostics_channel.html
DNShttps://beta.docs.nodejs.org/dns.html
Domainhttps://beta.docs.nodejs.org/domain.html
DTLShttps://beta.docs.nodejs.org/dtls.html
Environment Variableshttps://beta.docs.nodejs.org/environment_variables.html
Errorshttps://beta.docs.nodejs.org/errors.html
Eventshttps://beta.docs.nodejs.org/events.html
FFIhttps://beta.docs.nodejs.org/ffi.html
File systemhttps://beta.docs.nodejs.org/fs.html
Global objectshttps://beta.docs.nodejs.org/globals.html
HTTPhttps://beta.docs.nodejs.org/http.html
HTTP/2https://beta.docs.nodejs.org/http2.html
HTTPShttps://beta.docs.nodejs.org/https.html
Inspectorhttps://beta.docs.nodejs.org/inspector.html
Internationalization supporthttps://beta.docs.nodejs.org/intl.html
Iterable Streamshttps://beta.docs.nodejs.org/stream_iter.html
Modules: node:module APIhttps://beta.docs.nodejs.org/module.html
Modules: CommonJS moduleshttps://beta.docs.nodejs.org/modules.html
Modules: ECMAScript moduleshttps://beta.docs.nodejs.org/esm.html
Modules: Packageshttps://beta.docs.nodejs.org/packages.html
Modules: TypeScripthttps://beta.docs.nodejs.org/typescript.html
Nethttps://beta.docs.nodejs.org/net.html
Node-APIhttps://beta.docs.nodejs.org/n-api.html
OShttps://beta.docs.nodejs.org/os.html
Pathhttps://beta.docs.nodejs.org/path.html
Performance measurement APIshttps://beta.docs.nodejs.org/perf_hooks.html
Permissionshttps://beta.docs.nodejs.org/permissions.html
Processhttps://beta.docs.nodejs.org/process.html
Punycodehttps://beta.docs.nodejs.org/punycode.html
Query stringhttps://beta.docs.nodejs.org/querystring.html
Readlinehttps://beta.docs.nodejs.org/readline.html
REPLhttps://beta.docs.nodejs.org/repl.html
Single executable applicationshttps://beta.docs.nodejs.org/single-executable-applications.html
SQLitehttps://beta.docs.nodejs.org/sqlite.html
Streamhttps://beta.docs.nodejs.org/stream.html
String decoderhttps://beta.docs.nodejs.org/string_decoder.html
Test runnerhttps://beta.docs.nodejs.org/test.html
Timershttps://beta.docs.nodejs.org/timers.html
TLS (SSL)https://beta.docs.nodejs.org/tls.html
Trace eventshttps://beta.docs.nodejs.org/tracing.html
TTYhttps://beta.docs.nodejs.org/tty.html
UDP/datagram socketshttps://beta.docs.nodejs.org/dgram.html
URLhttps://beta.docs.nodejs.org/url.html
Utilhttps://beta.docs.nodejs.org/util.html
V8https://beta.docs.nodejs.org/v8.html
Virtual File Systemhttps://beta.docs.nodejs.org/vfs.html
VM (executing JavaScript)https://beta.docs.nodejs.org/vm.html
Web Crypto APIhttps://beta.docs.nodejs.org/webcrypto.html
Web Streams APIhttps://beta.docs.nodejs.org/webstreams.html
WebAssembly System Interface (WASI)https://beta.docs.nodejs.org/wasi.html
Worker threadshttps://beta.docs.nodejs.org/worker_threads.html
Zlibhttps://beta.docs.nodejs.org/zlib.html
Determining if crypto support is unavailablehttps://beta.docs.nodejs.org/crypto.html#determining-if-crypto-support-is-unavailable
Asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
Key formatshttps://beta.docs.nodejs.org/crypto.html#key-formats
Choosing a key formathttps://beta.docs.nodejs.org/crypto.html#choosing-a-key-format
Exampleshttps://beta.docs.nodejs.org/crypto.html#examples
Certificatehttps://beta.docs.nodejs.org/crypto.html#class-certificate
Certificate.exportChallengehttps://beta.docs.nodejs.org/crypto.html#static-method-certificateexportchallengespkac-encoding
Certificate.exportPublicKeyhttps://beta.docs.nodejs.org/crypto.html#static-method-certificateexportpublickeyspkac-encoding
Certificate.verifySpkachttps://beta.docs.nodejs.org/crypto.html#static-method-certificateverifyspkacspkac-encoding
Legacy APIhttps://beta.docs.nodejs.org/crypto.html#legacy-api
Cipherivhttps://beta.docs.nodejs.org/crypto.html#class-cipheriv
cipher.finalhttps://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
cipher.getAuthTaghttps://beta.docs.nodejs.org/crypto.html#ciphergetauthtag
cipher.setAADhttps://beta.docs.nodejs.org/crypto.html#ciphersetaadbuffer-options
cipher.setAutoPaddinghttps://beta.docs.nodejs.org/crypto.html#ciphersetautopaddingautopadding
cipher.updatehttps://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
decipher.finalhttps://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
decipher.setAADhttps://beta.docs.nodejs.org/crypto.html#deciphersetaadbuffer-options
decipher.setAuthTaghttps://beta.docs.nodejs.org/crypto.html#deciphersetauthtagbuffer-encoding
decipher.setAutoPaddinghttps://beta.docs.nodejs.org/crypto.html#deciphersetautopaddingautopadding
decipher.updatehttps://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
DiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#class-diffiehellman
diffieHellman.computeSecrethttps://beta.docs.nodejs.org/crypto.html#diffiehellmancomputesecretotherpublickey-inputencoding-outputencoding
diffieHellman.generateKeyshttps://beta.docs.nodejs.org/crypto.html#diffiehellmangeneratekeysencoding
diffieHellman.getGeneratorhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetgeneratorencoding
diffieHellman.getPrimehttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetprimeencoding
diffieHellman.getPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetprivatekeyencoding
diffieHellman.getPublicKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetpublickeyencoding
diffieHellman.setPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmansetprivatekeyprivatekey-encoding
diffieHellman.setPublicKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmansetpublickeypublickey-encoding
diffieHellman.verifyErrorhttps://beta.docs.nodejs.org/crypto.html#diffiehellmanverifyerror
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#class-diffiehellmangroup
ECDHhttps://beta.docs.nodejs.org/crypto.html#class-ecdh
ECDH.convertKeyhttps://beta.docs.nodejs.org/crypto.html#static-method-ecdhconvertkeykey-curve-inputencoding-outputencoding-format
ecdh.computeSecrethttps://beta.docs.nodejs.org/crypto.html#ecdhcomputesecretotherpublickey-inputencoding-outputencoding
ecdh.generateKeyshttps://beta.docs.nodejs.org/crypto.html#ecdhgeneratekeysencoding-format
ecdh.getPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhgetprivatekeyencoding
ecdh.getPublicKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhgetpublickeyencoding-format
ecdh.setPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhsetprivatekeyprivatekey-encoding
ecdh.setPublicKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhsetpublickeypublickey-encoding
Hashhttps://beta.docs.nodejs.org/crypto.html#class-hash
hash.copyhttps://beta.docs.nodejs.org/crypto.html#hashcopyoptions
hash.digesthttps://beta.docs.nodejs.org/crypto.html#hashdigestencoding
hash.updatehttps://beta.docs.nodejs.org/crypto.html#hashupdatedata-inputencoding
Hmachttps://beta.docs.nodejs.org/crypto.html#class-hmac
hmac.digesthttps://beta.docs.nodejs.org/crypto.html#hmacdigestencoding
hmac.updatehttps://beta.docs.nodejs.org/crypto.html#hmacupdatedata-inputencoding
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObject.fromhttps://beta.docs.nodejs.org/crypto.html#static-method-keyobjectfromkey
keyObject.asymmetricKeyDetailshttps://beta.docs.nodejs.org/crypto.html#keyobjectasymmetrickeydetails
keyObject.asymmetricKeyTypehttps://beta.docs.nodejs.org/crypto.html#keyobjectasymmetrickeytype
keyObject.equalshttps://beta.docs.nodejs.org/crypto.html#keyobjectequalsotherkeyobject
keyObject.exporthttps://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
keyObject.symmetricKeySizehttps://beta.docs.nodejs.org/crypto.html#keyobjectsymmetrickeysize
keyObject.toCryptoKeyhttps://beta.docs.nodejs.org/crypto.html#keyobjecttocryptokeyalgorithm-extractable-keyusages
keyObject.typehttps://beta.docs.nodejs.org/crypto.html#keyobjecttype
Machttps://beta.docs.nodejs.org/crypto.html#class-mac
mac.finalhttps://beta.docs.nodejs.org/crypto.html#macfinaloutputencoding
mac.updatehttps://beta.docs.nodejs.org/crypto.html#macupdatedata-inputencoding
Signhttps://beta.docs.nodejs.org/crypto.html#class-sign
sign.signhttps://beta.docs.nodejs.org/crypto.html#signsignprivatekey-outputencoding
sign.updatehttps://beta.docs.nodejs.org/crypto.html#signupdatedata-inputencoding
Verifyhttps://beta.docs.nodejs.org/crypto.html#class-verify
verify.updatehttps://beta.docs.nodejs.org/crypto.html#verifyupdatedata-inputencoding
verify.verifyhttps://beta.docs.nodejs.org/crypto.html#verifyverifykey-signature-signatureencoding
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
new X509Certificatehttps://beta.docs.nodejs.org/crypto.html#new-x509certificatebuffer
x509.cahttps://beta.docs.nodejs.org/crypto.html#x509ca
x509.checkEmailhttps://beta.docs.nodejs.org/crypto.html#x509checkemailemail-options
x509.checkHosthttps://beta.docs.nodejs.org/crypto.html#x509checkhostname-options
x509.checkIPhttps://beta.docs.nodejs.org/crypto.html#x509checkipip
x509.checkIssuedhttps://beta.docs.nodejs.org/crypto.html#x509checkissuedothercert
x509.checkPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#x509checkprivatekeyprivatekey
x509.fingerprinthttps://beta.docs.nodejs.org/crypto.html#x509fingerprint
x509.fingerprint256https://beta.docs.nodejs.org/crypto.html#x509fingerprint256
x509.fingerprint512https://beta.docs.nodejs.org/crypto.html#x509fingerprint512
x509.infoAccesshttps://beta.docs.nodejs.org/crypto.html#x509infoaccess
x509.issuerhttps://beta.docs.nodejs.org/crypto.html#x509issuer
x509.issuerCertificatehttps://beta.docs.nodejs.org/crypto.html#x509issuercertificate
x509.keyUsagehttps://beta.docs.nodejs.org/crypto.html#x509keyusage
x509.publicKeyhttps://beta.docs.nodejs.org/crypto.html#x509publickey
x509.rawhttps://beta.docs.nodejs.org/crypto.html#x509raw
x509.serialNumberhttps://beta.docs.nodejs.org/crypto.html#x509serialnumber
x509.subjecthttps://beta.docs.nodejs.org/crypto.html#x509subject
x509.subjectAltNamehttps://beta.docs.nodejs.org/crypto.html#x509subjectaltname
x509.toJSONhttps://beta.docs.nodejs.org/crypto.html#x509tojson
x509.toLegacyObjecthttps://beta.docs.nodejs.org/crypto.html#x509tolegacyobject
x509.toStringhttps://beta.docs.nodejs.org/crypto.html#x509tostring
x509.validFromhttps://beta.docs.nodejs.org/crypto.html#x509validfrom
x509.validFromDatehttps://beta.docs.nodejs.org/crypto.html#x509validfromdate
x509.validTohttps://beta.docs.nodejs.org/crypto.html#x509validto
x509.validToDatehttps://beta.docs.nodejs.org/crypto.html#x509validtodate
x509.signatureAlgorithmhttps://beta.docs.nodejs.org/crypto.html#x509signaturealgorithm
x509.signatureAlgorithmOidhttps://beta.docs.nodejs.org/crypto.html#x509signaturealgorithmoid
x509.verifyhttps://beta.docs.nodejs.org/crypto.html#x509verifypublickey
crypto module methods and propertieshttps://beta.docs.nodejs.org/crypto.html#nodecrypto-module-methods-and-properties
crypto.argon2https://beta.docs.nodejs.org/crypto.html#cryptoargon2algorithm-parameters-callback
crypto.argon2Synchttps://beta.docs.nodejs.org/crypto.html#cryptoargon2syncalgorithm-parameters
crypto.checkPrimehttps://beta.docs.nodejs.org/crypto.html#cryptocheckprimecandidate-options-callback
crypto.checkPrimeSynchttps://beta.docs.nodejs.org/crypto.html#cryptocheckprimesynccandidate-options
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
crypto.createCipherivhttps://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
crypto.createDecipherivhttps://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
crypto.createDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmanprime-primeencoding-generator-generatorencoding
crypto.createDiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmangroupname
crypto.createECDHhttps://beta.docs.nodejs.org/crypto.html#cryptocreateecdhcurvename
crypto.createHashhttps://beta.docs.nodejs.org/crypto.html#cryptocreatehashalgorithm-options
crypto.createHmachttps://beta.docs.nodejs.org/crypto.html#cryptocreatehmacalgorithm-key-options
crypto.createMachttps://beta.docs.nodejs.org/crypto.html#cryptocreatemacalgorithm-key-options
crypto.createPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.createPublicKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.createSecretKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreatesecretkeykey-encoding
crypto.createSignhttps://beta.docs.nodejs.org/crypto.html#cryptocreatesignalgorithm-options
crypto.createVerifyhttps://beta.docs.nodejs.org/crypto.html#cryptocreateverifyalgorithm-options
crypto.decapsulatehttps://beta.docs.nodejs.org/crypto.html#cryptodecapsulatekey-ciphertext-callback
crypto.diffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptodiffiehellmanoptions-callback
crypto.encapsulatehttps://beta.docs.nodejs.org/crypto.html#cryptoencapsulatekey-callback
crypto.fipshttps://beta.docs.nodejs.org/crypto.html#cryptofips
crypto.generateKeyhttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeytype-options-callback
crypto.generateKeyPairhttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairtype-options-callback
crypto.generateKeyPairSynchttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairsynctype-options
crypto.generateKeySynchttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeysynctype-options
crypto.generatePrimehttps://beta.docs.nodejs.org/crypto.html#cryptogenerateprimesize-options-callback
crypto.generatePrimeSynchttps://beta.docs.nodejs.org/crypto.html#cryptogenerateprimesyncsize-options
crypto.getCipherInfohttps://beta.docs.nodejs.org/crypto.html#cryptogetcipherinfonameornid-options
crypto.getCiphershttps://beta.docs.nodejs.org/crypto.html#cryptogetciphers
crypto.getCurveshttps://beta.docs.nodejs.org/crypto.html#cryptogetcurves
crypto.getDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptogetdiffiehellmangroupname
crypto.getFipshttps://beta.docs.nodejs.org/crypto.html#cryptogetfips
crypto.getHasheshttps://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.getMacshttps://beta.docs.nodejs.org/crypto.html#cryptogetmacs
crypto.getRandomValueshttps://beta.docs.nodejs.org/crypto.html#cryptogetrandomvaluestypedarray
crypto.hashhttps://beta.docs.nodejs.org/crypto.html#cryptohashalgorithm-data-options
crypto.hkdfhttps://beta.docs.nodejs.org/crypto.html#cryptohkdfdigest-ikm-salt-info-keylen-callback
crypto.hkdfSynchttps://beta.docs.nodejs.org/crypto.html#cryptohkdfsyncdigest-ikm-salt-info-keylen
crypto.parsePKCS12https://beta.docs.nodejs.org/crypto.html#cryptoparsepkcs12bundle-options
crypto.pbkdf2https://beta.docs.nodejs.org/crypto.html#cryptopbkdf2password-salt-iterations-keylen-digest-callback
crypto.pbkdf2Synchttps://beta.docs.nodejs.org/crypto.html#cryptopbkdf2syncpassword-salt-iterations-keylen-digest
crypto.privateDecrypthttps://beta.docs.nodejs.org/crypto.html#cryptoprivatedecryptprivatekey-buffer
crypto.privateEncrypthttps://beta.docs.nodejs.org/crypto.html#cryptoprivateencryptprivatekey-buffer
crypto.publicDecrypthttps://beta.docs.nodejs.org/crypto.html#cryptopublicdecryptkey-buffer
crypto.publicEncrypthttps://beta.docs.nodejs.org/crypto.html#cryptopublicencryptkey-buffer
crypto.randomByteshttps://beta.docs.nodejs.org/crypto.html#cryptorandombytessize-callback
crypto.randomFillhttps://beta.docs.nodejs.org/crypto.html#cryptorandomfillbuffer-offset-size-callback
crypto.randomFillSynchttps://beta.docs.nodejs.org/crypto.html#cryptorandomfillsyncbuffer-offset-size
crypto.randomInthttps://beta.docs.nodejs.org/crypto.html#cryptorandomintmin-max-callback
crypto.randomUUIDhttps://beta.docs.nodejs.org/crypto.html#cryptorandomuuidoptions
crypto.randomUUIDv7https://beta.docs.nodejs.org/crypto.html#cryptorandomuuidv7options
crypto.scrypthttps://beta.docs.nodejs.org/crypto.html#cryptoscryptpassword-salt-keylen-options-callback
crypto.scryptSynchttps://beta.docs.nodejs.org/crypto.html#cryptoscryptsyncpassword-salt-keylen-options
crypto.secureHeapUsedhttps://beta.docs.nodejs.org/crypto.html#cryptosecureheapused
crypto.setEnginehttps://beta.docs.nodejs.org/crypto.html#cryptosetengineengine-flags
crypto.setFipshttps://beta.docs.nodejs.org/crypto.html#cryptosetfipsbool
crypto.signhttps://beta.docs.nodejs.org/crypto.html#cryptosignalgorithm-data-key-callback
crypto.subtlehttps://beta.docs.nodejs.org/crypto.html#cryptosubtle
crypto.timingSafeEqualhttps://beta.docs.nodejs.org/crypto.html#cryptotimingsafeequala-b
crypto.verifyhttps://beta.docs.nodejs.org/crypto.html#cryptoverifyalgorithm-data-key-signature-callback
crypto.webcryptohttps://beta.docs.nodejs.org/crypto.html#cryptowebcrypto
Noteshttps://beta.docs.nodejs.org/crypto.html#notes
Using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
Legacy streams API (prior to Node.js 0.10)https://beta.docs.nodejs.org/crypto.html#legacy-streams-api-prior-to-nodejs-010
Support for weak or compromised algorithmshttps://beta.docs.nodejs.org/crypto.html#support-for-weak-or-compromised-algorithms
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
Crypto constantshttps://beta.docs.nodejs.org/crypto.html#crypto-constants
OpenSSL optionshttps://beta.docs.nodejs.org/crypto.html#openssl-options
OpenSSL engine constantshttps://beta.docs.nodejs.org/crypto.html#openssl-engine-constants
Other OpenSSL constantshttps://beta.docs.nodejs.org/crypto.html#other-openssl-constants
Node.js crypto constantshttps://beta.docs.nodejs.org/crypto.html#nodejs-crypto-constants
Cryptohttps://beta.docs.nodejs.org/crypto.html#crypto
lib/crypto.jshttps://github.com/nodejs/node/blob/main/lib/crypto.js
Determining if crypto support is unavailablehttps://beta.docs.nodejs.org/crypto.html#determining-if-crypto-support-is-unavailable
import()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import
Asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
Key formatshttps://beta.docs.nodejs.org/crypto.html#key-formats
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.createSecretKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatesecretkeykey-encoding
crypto.generateKeyPair()https://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairtype-options-callback
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
PEM and DERhttps://beta.docs.nodejs.org/crypto.html#pem-and-der
JSON Web Key (JWK)https://beta.docs.nodejs.org/crypto.html#json-web-key-jwk
RFC 7517https://www.rfc-editor.org/rfc/rfc7517.txt
Raw key formatshttps://beta.docs.nodejs.org/crypto.html#raw-key-formats
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
Choosing a key formathttps://beta.docs.nodejs.org/crypto.html#choosing-a-key-format
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Importing keyshttps://beta.docs.nodejs.org/crypto.html#importing-keys
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Inline key material in operationshttps://beta.docs.nodejs.org/crypto.html#inline-key-material-in-operations
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Exampleshttps://beta.docs.nodejs.org/crypto.html#examples
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.sign()https://beta.docs.nodejs.org/crypto.html#cryptosignalgorithm-data-key-callback
crypto.verify()https://beta.docs.nodejs.org/crypto.html#cryptoverifyalgorithm-data-key-signature-callback
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Certificatehttps://beta.docs.nodejs.org/crypto.html#class-certificate
HTML 5.2https://www.w3.org/TR/html52/changes.html#features-removed
OpenSSL's SPKAC implementationhttps://www.openssl.org/docs/man3.0/man1/openssl-spkac.html
Certificate.exportChallengehttps://beta.docs.nodejs.org/crypto.html#static-method-certificateexportchallengespkac-encoding
The spkac argument can be an ArrayBuffer. Limited the size of the spkac argument to a maximum of 2**31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Certificate.exportPublicKeyhttps://beta.docs.nodejs.org/crypto.html#static-method-certificateexportpublickeyspkac-encoding
The spkac argument can be an ArrayBuffer. Limited the size of the spkac argument to a maximum of 2**31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Certificate.verifySpkachttps://beta.docs.nodejs.org/crypto.html#static-method-certificateverifyspkacspkac-encoding
The spkac argument can be an ArrayBuffer. Added encoding. Limited the size of the spkac argument to a maximum of 2**31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Legacy APIhttps://beta.docs.nodejs.org/crypto.html#legacy-api
crypto.Certificate Constructorhttps://beta.docs.nodejs.org/crypto.html#new-cryptocertificate
certificate.exportChallengehttps://beta.docs.nodejs.org/crypto.html#certificateexportchallengespkac-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
certificate.exportPublicKeyhttps://beta.docs.nodejs.org/crypto.html#certificateexportpublickeyspkac-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
certificate.verifySpkachttps://beta.docs.nodejs.org/crypto.html#certificateverifyspkacspkac-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Cipherivhttps://beta.docs.nodejs.org/crypto.html#class-cipheriv
streamhttps://beta.docs.nodejs.org/stream.html
cipher.update()https://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
crypto.createCipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
cipher.update()https://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
cipher.update()https://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
cipher.finalhttps://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
cipher.update()https://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
cipher.getAuthTaghttps://beta.docs.nodejs.org/crypto.html#ciphergetauthtag
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
cipher.setAADhttps://beta.docs.nodejs.org/crypto.html#ciphersetaadbuffer-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Cipherivhttps://beta.docs.nodejs.org/crypto.html#class-cipheriv
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
cipher.update()https://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
cipher.setAutoPaddinghttps://beta.docs.nodejs.org/crypto.html#ciphersetautopaddingautopadding
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Cipherivhttps://beta.docs.nodejs.org/crypto.html#class-cipheriv
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
cipher.updatehttps://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
cipher.final()https://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
streamhttps://beta.docs.nodejs.org/stream.html
decipher.update()https://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
crypto.createDecipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
decipher.update()https://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
decipher.update()https://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
decipher.finalhttps://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
decipher.update()https://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
decipher.setAADhttps://beta.docs.nodejs.org/crypto.html#deciphersetaadbuffer-options
The buffer argument can be a string or ArrayBuffer and is limited to no more than 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
This method now returns a reference to decipher.v7.2.0https://github.com/nodejs/node/pull/9398
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
decipher.update()https://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
decipher.setAuthTaghttps://beta.docs.nodejs.org/crypto.html#deciphersetauthtagbuffer-encoding
Using GCM tag lengths other than 128 bits without specifying the authTagLength option when creating decipher is not allowed anymore.v26.0.0https://github.com/nodejs/node/pull/61084
Using GCM tag lengths other than 128 bits without specifying the authTagLength option when creating decipher is deprecated.v22.0.0, v20.13.0https://github.com/nodejs/node/pull/52345
The buffer argument can be a string or ArrayBuffer and is limited to no more than 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
This method now throws if the GCM tag length is invalid.v11.0.0https://github.com/nodejs/node/pull/17825
This method now returns a reference to decipher.v7.2.0https://github.com/nodejs/node/pull/9398
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
NIST SP 800-38Dhttps://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
decipher.update()https://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
decipher.setAutoPaddinghttps://beta.docs.nodejs.org/crypto.html#deciphersetautopaddingautopadding
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
decipher.updatehttps://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
decipher.final()https://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
DiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#class-diffiehellman
crypto.createDiffieHellman()https://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmanprime-primeencoding-generator-generatorencoding
diffieHellman.computeSecrethttps://beta.docs.nodejs.org/crypto.html#diffiehellmancomputesecretotherpublickey-inputencoding-outputencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.generateKeyshttps://beta.docs.nodejs.org/crypto.html#diffiehellmangeneratekeysencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
DH_generate_key()https://www.openssl.org/docs/man3.0/man3/DH_generate_key.html
diffieHellman.setPrivateKey()https://beta.docs.nodejs.org/crypto.html#diffiehellmansetprivatekeyprivatekey-encoding
diffieHellman.getGeneratorhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetgeneratorencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.getPrimehttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetprimeencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.getPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetprivatekeyencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.getPublicKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetpublickeyencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.setPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmansetprivatekeyprivatekey-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.setPublicKey()https://beta.docs.nodejs.org/crypto.html#diffiehellmansetpublickeypublickey-encoding
diffieHellman.generateKeys()https://beta.docs.nodejs.org/crypto.html#diffiehellmangeneratekeysencoding
diffieHellman.setPublicKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmansetpublickeypublickey-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
diffieHellman.verifyErrorhttps://beta.docs.nodejs.org/crypto.html#diffiehellmanverifyerror
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#class-diffiehellmangroup
RFC 3526https://www.rfc-editor.org/rfc/rfc3526.txt
RFC 3526https://www.rfc-editor.org/rfc/rfc3526.txt
RFC 3526https://www.rfc-editor.org/rfc/rfc3526.txt
RFC 3526https://www.rfc-editor.org/rfc/rfc3526.txt
RFC 3526https://www.rfc-editor.org/rfc/rfc3526.txt
Caveatshttps://beta.docs.nodejs.org/crypto.html#support-for-weak-or-compromised-algorithms
RFC 2409https://www.rfc-editor.org/rfc/rfc2409.txt
RFC 2409https://www.rfc-editor.org/rfc/rfc2409.txt
RFC 3526https://www.rfc-editor.org/rfc/rfc3526.txt
ECDHhttps://beta.docs.nodejs.org/crypto.html#class-ecdh
crypto.createECDH()https://beta.docs.nodejs.org/crypto.html#cryptocreateecdhcurvename
ECDH.convertKeyhttps://beta.docs.nodejs.org/crypto.html#static-method-ecdhconvertkeykey-curve-inputencoding-outputencoding-format
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.getCurves()https://beta.docs.nodejs.org/crypto.html#cryptogetcurves
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.computeSecrethttps://beta.docs.nodejs.org/crypto.html#ecdhcomputesecretotherpublickey-inputencoding-outputencoding
Changed error format to better support invalid public key error.v10.0.0https://github.com/nodejs/node/pull/16849
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.generateKeyshttps://beta.docs.nodejs.org/crypto.html#ecdhgeneratekeysencoding-format
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.getPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhgetprivatekeyencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.getPublicKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhgetpublickeyencoding-format
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.setPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhsetprivatekeyprivatekey-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.setPublicKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhsetpublickeypublickey-encoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
ecdh.generateKeys()https://beta.docs.nodejs.org/crypto.html#ecdhgeneratekeysencoding-format
ecdh.setPrivateKey()https://beta.docs.nodejs.org/crypto.html#ecdhsetprivatekeyprivatekey-encoding
ecdh.setPrivateKey()https://beta.docs.nodejs.org/crypto.html#ecdhsetprivatekeyprivatekey-encoding
Hashhttps://beta.docs.nodejs.org/crypto.html#class-hash
streamhttps://beta.docs.nodejs.org/stream.html
hash.update()https://beta.docs.nodejs.org/crypto.html#hashupdatedata-inputencoding
hash.digest()https://beta.docs.nodejs.org/crypto.html#hashdigestencoding
crypto.createHash()https://beta.docs.nodejs.org/crypto.html#cryptocreatehashalgorithm-options
hash.update()https://beta.docs.nodejs.org/crypto.html#hashupdatedata-inputencoding
hash.digest()https://beta.docs.nodejs.org/crypto.html#hashdigestencoding
hash.copyhttps://beta.docs.nodejs.org/crypto.html#hashcopyoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
Hashhttps://beta.docs.nodejs.org/crypto.html#class-hash
hash.digest()https://beta.docs.nodejs.org/crypto.html#hashdigestencoding
hash.digesthttps://beta.docs.nodejs.org/crypto.html#hashdigestencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
hash.update()https://beta.docs.nodejs.org/crypto.html#hashupdatedata-inputencoding
Bufferhttps://beta.docs.nodejs.org/buffer.html
hash.updatehttps://beta.docs.nodejs.org/crypto.html#hashupdatedata-inputencoding
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
Hmachttps://beta.docs.nodejs.org/crypto.html#class-hmac
streamhttps://beta.docs.nodejs.org/stream.html
hmac.update()https://beta.docs.nodejs.org/crypto.html#hmacupdatedata-inputencoding
hmac.digest()https://beta.docs.nodejs.org/crypto.html#hmacdigestencoding
crypto.createHmac()https://beta.docs.nodejs.org/crypto.html#cryptocreatehmacalgorithm-key-options
hmac.update()https://beta.docs.nodejs.org/crypto.html#hmacupdatedata-inputencoding
hmac.digest()https://beta.docs.nodejs.org/crypto.html#hmacdigestencoding
hmac.digesthttps://beta.docs.nodejs.org/crypto.html#hmacdigestencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
hmac.update()https://beta.docs.nodejs.org/crypto.html#hmacupdatedata-inputencoding
Bufferhttps://beta.docs.nodejs.org/buffer.html
hmac.updatehttps://beta.docs.nodejs.org/crypto.html#hmacupdatedata-inputencoding
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Add support for ML-DSA keys.v24.6.0https://github.com/nodejs/node/pull/59259
Instances of this class can now be passed to worker threads using postMessage.v14.5.0, v12.19.0https://github.com/nodejs/node/pull/33360
This class is now exported.v11.13.0https://github.com/nodejs/node/pull/26438
crypto.createSecretKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatesecretkeykey-encoding
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
postMessage()https://beta.docs.nodejs.org/worker_threads.html#portpostmessagevalue-transferlist
KeyObject.fromhttps://beta.docs.nodejs.org/crypto.html#static-method-keyobjectfromkey
Passing a non-extractable CryptoKey as key is deprecated.v26.0.0https://github.com/nodejs/node/pull/62453
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
keyObject.asymmetricKeyDetailshttps://beta.docs.nodejs.org/crypto.html#keyobjectasymmetrickeydetails
Expose RSASSA-PSS-params sequence parameters for RSA-PSS keys.v16.9.0https://github.com/nodejs/node/pull/39851
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
keyObject.asymmetricKeyTypehttps://beta.docs.nodejs.org/crypto.html#keyobjectasymmetrickeytype
Add support for SLH-DSA keys.v24.8.0https://github.com/nodejs/node/pull/59537
Add support for ML-KEM keys.v24.7.0https://github.com/nodejs/node/pull/59461
Add support for ML-DSA keys.v24.6.0https://github.com/nodejs/node/pull/59259
Added support for 'dh'.v13.9.0, v12.17.0https://github.com/nodejs/node/pull/31178
Added support for 'rsa-pss'.v12.0.0https://github.com/nodejs/node/pull/26960
This property now returns undefined for KeyObject instances of unrecognized type instead of aborting.v12.0.0https://github.com/nodejs/node/pull/26786
Added support for 'x25519' and 'x448'.v12.0.0https://github.com/nodejs/node/pull/26774
Added support for 'ed25519' and 'ed448'.v12.0.0https://github.com/nodejs/node/pull/26319
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
keyObject.equalshttps://beta.docs.nodejs.org/crypto.html#keyobjectequalsotherkeyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
constant timehttps://en.wikipedia.org/wiki/Timing_attack
keyObject.exporthttps://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
Added JWK format support for ML-KEM and SLH-DSA key types.v26.1.0https://github.com/nodejs/node/pull/62706
Added support for 'raw-public', 'raw-private', and 'raw-seed' formats.v26.0.0https://github.com/nodejs/node/pull/62240
ML-KEM and ML-DSA private key 'pkcs8' export now uses seed-only format by default when a seed is available.v26.0.0https://github.com/nodejs/node/pull/62178
Added support for 'jwk' format.v15.9.0https://github.com/nodejs/node/pull/37081
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
JWKhttps://tools.ietf.org/html/rfc7517
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
RFC 5208https://www.rfc-editor.org/rfc/rfc5208.txt
RFC 1421https://www.rfc-editor.org/rfc/rfc1421.txt
keyObject.symmetricKeySizehttps://beta.docs.nodejs.org/crypto.html#keyobjectsymmetrickeysize
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
keyObject.toCryptoKeyhttps://beta.docs.nodejs.org/crypto.html#keyobjecttocryptokeyalgorithm-extractable-keyusages
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Algorithmhttps://beta.docs.nodejs.org/webcrypto.html#class-algorithm
RsaHashedImportParamshttps://beta.docs.nodejs.org/webcrypto.html#class-rsahashedimportparams
EcKeyImportParamshttps://beta.docs.nodejs.org/webcrypto.html#class-eckeyimportparams
HmacImportParamshttps://beta.docs.nodejs.org/webcrypto.html#class-hmacimportparams
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Key usageshttps://beta.docs.nodejs.org/webcrypto.html#cryptokeyusages
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
keyObject.typehttps://beta.docs.nodejs.org/crypto.html#keyobjecttype
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Machttps://beta.docs.nodejs.org/crypto.html#class-mac
streamhttps://beta.docs.nodejs.org/stream.html
mac.update()https://beta.docs.nodejs.org/crypto.html#macupdatedata-inputencoding
mac.final()https://beta.docs.nodejs.org/crypto.html#macfinaloutputencoding
crypto.createMac()https://beta.docs.nodejs.org/crypto.html#cryptocreatemacalgorithm-key-options
Bufferhttps://beta.docs.nodejs.org/buffer.html
mac.update()https://beta.docs.nodejs.org/crypto.html#macupdatedata-inputencoding
mac.final()https://beta.docs.nodejs.org/crypto.html#macfinaloutputencoding
mac.finalhttps://beta.docs.nodejs.org/crypto.html#macfinaloutputencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.timingSafeEqual()https://beta.docs.nodejs.org/crypto.html#cryptotimingsafeequala-b
mac.updatehttps://beta.docs.nodejs.org/crypto.html#macupdatedata-inputencoding
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
Signhttps://beta.docs.nodejs.org/crypto.html#class-sign
streamhttps://beta.docs.nodejs.org/stream.html
sign.sign()https://beta.docs.nodejs.org/crypto.html#signsignprivatekey-outputencoding
sign.update()https://beta.docs.nodejs.org/crypto.html#signupdatedata-inputencoding
sign.sign()https://beta.docs.nodejs.org/crypto.html#signsignprivatekey-outputencoding
crypto.createSign()https://beta.docs.nodejs.org/crypto.html#cryptocreatesignalgorithm-options
Verifyhttps://beta.docs.nodejs.org/crypto.html#class-verify
sign.update()https://beta.docs.nodejs.org/crypto.html#signupdatedata-inputencoding
verify.update()https://beta.docs.nodejs.org/crypto.html#verifyupdatedata-inputencoding
sign.signhttps://beta.docs.nodejs.org/crypto.html#signsignprivatekey-outputencoding
The privateKey can also be an ArrayBuffer and CryptoKey.v15.0.0https://github.com/nodejs/node/pull/35093
This function now supports IEEE-P1363 DSA and ECDSA signatures.v13.2.0, v12.16.0https://github.com/nodejs/node/pull/29292
This function now supports RSA-PSS keys.v12.0.0https://github.com/nodejs/node/pull/26960
This function now supports key objects.v11.6.0https://github.com/nodejs/node/pull/24234
Support for RSASSA-PSS and additional options was added.v8.0.0https://github.com/nodejs/node/pull/11705
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
sign.update()https://beta.docs.nodejs.org/crypto.html#signupdatedata-inputencoding
sign.write()https://beta.docs.nodejs.org/stream.html#writablewritechunk-encoding-callback
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
Bufferhttps://beta.docs.nodejs.org/buffer.html
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
sign.updatehttps://beta.docs.nodejs.org/crypto.html#signupdatedata-inputencoding
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
Verifyhttps://beta.docs.nodejs.org/crypto.html#class-verify
streamhttps://beta.docs.nodejs.org/stream.html
verify.update()https://beta.docs.nodejs.org/crypto.html#verifyupdatedata-inputencoding
verify.verify()https://beta.docs.nodejs.org/crypto.html#verifyverifykey-signature-signatureencoding
crypto.createVerify()https://beta.docs.nodejs.org/crypto.html#cryptocreateverifyalgorithm-options
Signhttps://beta.docs.nodejs.org/crypto.html#class-sign
verify.updatehttps://beta.docs.nodejs.org/crypto.html#verifyupdatedata-inputencoding
The default inputEncoding changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
Bufferhttps://beta.docs.nodejs.org/buffer.html
verify.verifyhttps://beta.docs.nodejs.org/crypto.html#verifyverifykey-signature-signatureencoding
The key can also be an ArrayBuffer and CryptoKey.v15.0.0https://github.com/nodejs/node/pull/35093
This function now supports IEEE-P1363 DSA and ECDSA signatures.v13.2.0, v12.16.0https://github.com/nodejs/node/pull/29292
This function now supports RSA-PSS keys.v12.0.0https://github.com/nodejs/node/pull/26960
The key can now be a private key.v11.7.0https://github.com/nodejs/node/pull/25217
Support for RSASSA-PSS and additional options was added.v8.0.0https://github.com/nodejs/node/pull/11705
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
Bufferhttps://beta.docs.nodejs.org/buffer.html
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
X509Certificate Constructorhttps://beta.docs.nodejs.org/crypto.html#new-x509certificatebuffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
x509.cahttps://beta.docs.nodejs.org/crypto.html#x509ca
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
x509.checkEmailhttps://beta.docs.nodejs.org/crypto.html#x509checkemailemail-options
The subject option now defaults to 'default'.v18.0.0https://github.com/nodejs/node/pull/41600
The wildcards, partialWildcards, multiLabelWildcards, and singleLabelSubdomains options have been removed since they had no effect.v17.5.0, v16.14.1https://github.com/nodejs/node/pull/41599
The subject option can now be set to 'default'.v17.5.0, v16.15.0https://github.com/nodejs/node/pull/41569
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
x509.checkHosthttps://beta.docs.nodejs.org/crypto.html#x509checkhostname-options
The subject option now defaults to 'default'.v18.0.0https://github.com/nodejs/node/pull/41600
The subject option can now be set to 'default'.v17.5.0, v16.15.0https://github.com/nodejs/node/pull/41569
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
x509.checkIPhttps://beta.docs.nodejs.org/crypto.html#x509checkipip
The options argument has been removed since it had no effect.v17.5.0, v16.14.1https://github.com/nodejs/node/pull/41571
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
RFC 5280https://www.rfc-editor.org/rfc/rfc5280.txt
x509.checkIssuedhttps://beta.docs.nodejs.org/crypto.html#x509checkissuedothercert
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
x509.verify(publicKey)https://beta.docs.nodejs.org/crypto.html#x509verifypublickey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
x509.checkPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#x509checkprivatekeyprivatekey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
x509.fingerprinthttps://beta.docs.nodejs.org/crypto.html#x509fingerprint
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.fingerprint256https://beta.docs.nodejs.org/crypto.html#x509fingerprint256
x509.fingerprint256https://beta.docs.nodejs.org/crypto.html#x509fingerprint256
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.fingerprint512https://beta.docs.nodejs.org/crypto.html#x509fingerprint512
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.fingerprint256https://beta.docs.nodejs.org/crypto.html#x509fingerprint256
x509.infoAccesshttps://beta.docs.nodejs.org/crypto.html#x509infoaccess
Parts of this string may be encoded as JSON string literals in response to CVE-2021-44532.v17.3.1, v16.13.2https://github.com/nodejs-private/node-private/pull/300
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.issuerhttps://beta.docs.nodejs.org/crypto.html#x509issuer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.issuerCertificatehttps://beta.docs.nodejs.org/crypto.html#x509issuercertificate
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
x509.keyUsagehttps://beta.docs.nodejs.org/crypto.html#x509keyusage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.publicKeyhttps://beta.docs.nodejs.org/crypto.html#x509publickey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
x509.rawhttps://beta.docs.nodejs.org/crypto.html#x509raw
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
x509.serialNumberhttps://beta.docs.nodejs.org/crypto.html#x509serialnumber
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.fingerprint256https://beta.docs.nodejs.org/crypto.html#x509fingerprint256
x509.subjecthttps://beta.docs.nodejs.org/crypto.html#x509subject
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.subjectAltNamehttps://beta.docs.nodejs.org/crypto.html#x509subjectaltname
Parts of this string may be encoded as JSON string literals in response to CVE-2021-44532.v17.3.1, v16.13.2https://github.com/nodejs-private/node-private/pull/300
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
CVE-2021-44532https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532
x509.toJSONhttps://beta.docs.nodejs.org/crypto.html#x509tojson
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.toLegacyObjecthttps://beta.docs.nodejs.org/crypto.html#x509tolegacyobject
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
certificate objecthttps://beta.docs.nodejs.org/tls.html#certificate-object
x509.toStringhttps://beta.docs.nodejs.org/crypto.html#x509tostring
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.validFromhttps://beta.docs.nodejs.org/crypto.html#x509validfrom
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.validFromDatehttps://beta.docs.nodejs.org/crypto.html#x509validfromdate
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
x509.validTohttps://beta.docs.nodejs.org/crypto.html#x509validto
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.validToDatehttps://beta.docs.nodejs.org/crypto.html#x509validtodate
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
x509.signatureAlgorithmhttps://beta.docs.nodejs.org/crypto.html#x509signaturealgorithm
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
x509.signatureAlgorithmOidhttps://beta.docs.nodejs.org/crypto.html#x509signaturealgorithmoid
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
x509.verifyhttps://beta.docs.nodejs.org/crypto.html#x509verifypublickey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
node:crypto module methods and propertieshttps://beta.docs.nodejs.org/crypto.html#nodecrypto-module-methods-and-properties
crypto.argon2https://beta.docs.nodejs.org/crypto.html#cryptoargon2algorithm-parameters-callback
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Argon2https://www.rfc-editor.org/rfc/rfc9106.html
NIST SP 800-132https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.argon2Synchttps://beta.docs.nodejs.org/crypto.html#cryptoargon2syncalgorithm-parameters
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Argon2https://www.rfc-editor.org/rfc/rfc9106.html
NIST SP 800-132https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.checkPrimehttps://beta.docs.nodejs.org/crypto.html#cryptocheckprimecandidate-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
BN_is_prime_exhttps://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
crypto.checkPrimeSynchttps://beta.docs.nodejs.org/crypto.html#cryptocheckprimesynccandidate-options
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
BN_is_prime_exhttps://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Crypto constantshttps://beta.docs.nodejs.org/crypto.html#crypto-constants
crypto.createCipherivhttps://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
Additional ciphers available through OpenSSL providers (e.g. SM4-GCM, SM4-CCM, SM4-XTS, CBC-CTS, and AES key-wrap variants) are now supported. The ctsMode and xtsStandard options were added.v26.9.0https://github.com/nodejs/node/pull/65484
Ciphers in SIV and GCM-SIV modes are now supported.v26.8.0https://github.com/nodejs/node/pull/63411
Passing a CryptoKey as key is deprecated.v26.0.0https://github.com/nodejs/node/pull/62453
The authTagLength option is now optional when using the chacha20-poly1305 cipher and defaults to 16 bytes.v17.9.0, v16.17.0https://github.com/nodejs/node/pull/42427
The password and iv arguments can be an ArrayBuffer and are each limited to a maximum of 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
The key argument can now be a KeyObject.v11.6.0https://github.com/nodejs/node/pull/24234
The cipher chacha20-poly1305 (the IETF variant of ChaCha20-Poly1305) is now supported.v11.2.0, v10.17.0https://github.com/nodejs/node/pull/24081
Ciphers in OCB mode are now supported.v10.10.0https://github.com/nodejs/node/pull/21447
The authTagLength option can now be used to produce shorter authentication tags in GCM mode and defaults to 16 bytes.v10.2.0https://github.com/nodejs/node/pull/20235
The iv parameter may now be null for ciphers which do not need an initialization vector.v9.9.0https://github.com/nodejs/node/pull/18644
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Cipherivhttps://beta.docs.nodejs.org/crypto.html#class-cipheriv
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
crypto.getCiphers()https://beta.docs.nodejs.org/crypto.html#cryptogetciphers
initialization vectorhttps://en.wikipedia.org/wiki/Initialization_vector
Bufferhttps://beta.docs.nodejs.org/buffer.html
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
crypto.createDecipherivhttps://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
Additional ciphers available through OpenSSL providers (e.g. SM4-GCM, SM4-CCM, SM4-XTS, CBC-CTS, and AES key-wrap variants) are now supported. The ctsMode and xtsStandard options were added.v26.9.0https://github.com/nodejs/node/pull/65484
Ciphers in SIV and GCM-SIV modes are now supported.v26.8.0https://github.com/nodejs/node/pull/63411
Passing a CryptoKey as key is deprecated.v26.0.0https://github.com/nodejs/node/pull/62453
The authTagLength option is now optional when using the chacha20-poly1305 cipher and defaults to 16 bytes.v17.9.0, v16.17.0https://github.com/nodejs/node/pull/42427
The key argument can now be a KeyObject.v11.6.0https://github.com/nodejs/node/pull/24234
The cipher chacha20-poly1305 (the IETF variant of ChaCha20-Poly1305) is now supported.v11.2.0, v10.17.0https://github.com/nodejs/node/pull/24081
Ciphers in OCB mode are now supported.v10.10.0https://github.com/nodejs/node/pull/21447
The authTagLength option can now be used to restrict accepted GCM authentication tag lengths.v10.2.0https://github.com/nodejs/node/pull/20039
The iv parameter may now be null for ciphers which do not need an initialization vector.v9.9.0https://github.com/nodejs/node/pull/18644
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
crypto.getCiphers()https://beta.docs.nodejs.org/crypto.html#cryptogetciphers
initialization vectorhttps://en.wikipedia.org/wiki/Initialization_vector
Bufferhttps://beta.docs.nodejs.org/buffer.html
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
crypto.createDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmanprime-primeencoding-generator-generatorencoding
The prime argument can be any TypedArray or DataView now.v8.0.0https://github.com/nodejs/node/pull/12223
The prime argument can be a Uint8Array now.v8.0.0https://github.com/nodejs/node/pull/11983
The default for the encoding parameters changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
DiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#class-diffiehellman
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.createDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmanprimelength-generator
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
DiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#class-diffiehellman
crypto.createDiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmangroupname
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#class-diffiehellmangroup
crypto.getDiffieHellman()https://beta.docs.nodejs.org/crypto.html#cryptogetdiffiehellmangroupname
crypto.createECDHhttps://beta.docs.nodejs.org/crypto.html#cryptocreateecdhcurvename
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ECDHhttps://beta.docs.nodejs.org/crypto.html#class-ecdh
crypto.getCurves()https://beta.docs.nodejs.org/crypto.html#cryptogetcurves
crypto.createHashhttps://beta.docs.nodejs.org/crypto.html#cryptocreatehashalgorithm-options
Hash algorithms exposed by OpenSSL providers are now supported. The functionName and customization options were added for cSHAKE hash functions.v26.9.0https://github.com/nodejs/node/pull/65484
The outputLength option was added for XOF hash functions.v12.8.0https://github.com/nodejs/node/pull/28805
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Hashhttps://beta.docs.nodejs.org/crypto.html#class-hash
crypto.hash()https://beta.docs.nodejs.org/crypto.html#cryptohashalgorithm-data-options
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.createHmachttps://beta.docs.nodejs.org/crypto.html#cryptocreatehmacalgorithm-key-options
Passing a CryptoKey as key is deprecated.v26.0.0https://github.com/nodejs/node/pull/62453
The key can also be an ArrayBuffer or CryptoKey. The encoding option was added. The key cannot contain more than 2 ** 32 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
The key argument can now be a KeyObject.v11.6.0https://github.com/nodejs/node/pull/24234
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Hmachttps://beta.docs.nodejs.org/crypto.html#class-hmac
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
crypto.randomBytes()https://beta.docs.nodejs.org/crypto.html#cryptorandombytessize-callback
crypto.generateKey()https://beta.docs.nodejs.org/crypto.html#cryptogeneratekeytype-options-callback
crypto.createMachttps://beta.docs.nodejs.org/crypto.html#cryptocreatemacalgorithm-key-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
stream.transform optionshttps://beta.docs.nodejs.org/stream.html#new-streamtransformoptions
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.getMacs()https://beta.docs.nodejs.org/crypto.html#cryptogetmacs
crypto.createPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
The key can also be a URL referencing an object for an OpenSSL STORE loader. The properties option was added.v26.7.0https://github.com/nodejs/node/pull/63949
Passing a CryptoKey as key is no longer supported.v26.7.0https://github.com/nodejs/node/pull/63188
Added JWK format support for ML-KEM and SLH-DSA key types.v26.1.0https://github.com/nodejs/node/pull/62706
Passing a CryptoKey as key is deprecated.v26.0.0https://github.com/nodejs/node/pull/62453
Added support for 'raw-private' and 'raw-seed' formats.v26.0.0https://github.com/nodejs/node/pull/62240
Add support for ML-DSA keys.v24.6.0https://github.com/nodejs/node/pull/59259
The key can also be a JWK object.v15.12.0https://github.com/nodejs/node/pull/37254
The key can also be an ArrayBuffer. The encoding option was added. The key cannot contain more than 2 ** 32 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
supported key typehttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Private keys from OpenSSL STORE loadershttps://beta.docs.nodejs.org/crypto.html#private-keys-from-openssl-store-loaders
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Permission Modelhttps://beta.docs.nodejs.org/permissions.html#permission-model
--allow-openssl-storehttps://beta.docs.nodejs.org/cli.html#--allow-openssl-store
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
crypto.createPublicKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
Added JWK format support for ML-KEM and SLH-DSA key types.v26.1.0https://github.com/nodejs/node/pull/62706
Passing a CryptoKey as key is deprecated.v26.0.0https://github.com/nodejs/node/pull/62453
Added support for 'raw-public' format.v26.0.0https://github.com/nodejs/node/pull/62240
Add support for ML-DSA keys.v24.6.0https://github.com/nodejs/node/pull/59259
The key can also be a JWK object.v15.12.0https://github.com/nodejs/node/pull/37254
The key can also be an ArrayBuffer. The encoding option was added. The key cannot contain more than 2 ** 32 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
The key argument can now be a KeyObject with type private.v11.13.0https://github.com/nodejs/node/pull/26278
The key argument can now be a private key.v11.7.0https://github.com/nodejs/node/pull/25217
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
supported key typehttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
crypto.createSecretKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreatesecretkeykey-encoding
The key can now be zero-length.v18.8.0, v16.18.0https://github.com/nodejs/node/pull/44201
The key can also be an ArrayBuffer or string. The encoding argument was added. The key cannot contain more than 2 ** 32 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createSignhttps://beta.docs.nodejs.org/crypto.html#cryptocreatesignalgorithm-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.Writable optionshttps://beta.docs.nodejs.org/stream.html#new-streamwritableoptions
Signhttps://beta.docs.nodejs.org/crypto.html#class-sign
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.createVerifyhttps://beta.docs.nodejs.org/crypto.html#cryptocreateverifyalgorithm-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream.Writable optionshttps://beta.docs.nodejs.org/stream.html#new-streamwritableoptions
Verifyhttps://beta.docs.nodejs.org/crypto.html#class-verify
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.decapsulatehttps://beta.docs.nodejs.org/crypto.html#cryptodecapsulatekey-ciphertext-callback
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
2https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl30
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.diffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptodiffiehellmanoptions-callback
Accept key data in addition to KeyObject instances.v26.1.0https://github.com/nodejs/node/pull/62527
Optional callback argument added.v23.11.0https://github.com/nodejs/node/pull/57274
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.encapsulatehttps://beta.docs.nodejs.org/crypto.html#cryptoencapsulatekey-callback
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
2https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl30
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl35
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.fipshttps://beta.docs.nodejs.org/crypto.html#cryptofips
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
crypto.getFips()https://beta.docs.nodejs.org/crypto.html#cryptogetfips
crypto.setFips()https://beta.docs.nodejs.org/crypto.html#cryptosetfipsbool
crypto.generateKeyhttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeytype-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createHmac()https://beta.docs.nodejs.org/crypto.html#cryptocreatehmacalgorithm-key-options
crypto.generateKeyPairhttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairtype-options-callback
Add support for SLH-DSA key pairs.v24.8.0https://github.com/nodejs/node/pull/59537
Add support for ML-KEM key pairs.v24.7.0https://github.com/nodejs/node/pull/59461
Add support for ML-DSA key pairs.v24.6.0https://github.com/nodejs/node/pull/59259
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Add ability to define RSASSA-PSS-params sequence parameters for RSA-PSS keys pairs.v16.10.0https://github.com/nodejs/node/pull/39927
Add support for Diffie-Hellman.v13.9.0, v12.17.0https://github.com/nodejs/node/pull/31178
Add support for RSA-PSS key pairs.v12.0.0https://github.com/nodejs/node/pull/26960
Add ability to generate X25519 and X448 key pairs.v12.0.0https://github.com/nodejs/node/pull/26774
Add ability to generate Ed25519 and Ed448 key pairs.v12.0.0https://github.com/nodejs/node/pull/26554
The generateKeyPair and generateKeyPairSync functions now produce key objects if no encoding was specified.v11.6.0https://github.com/nodejs/node/pull/24234
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.getDiffieHellman()https://beta.docs.nodejs.org/crypto.html#cryptogetdiffiehellmangroupname
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
util.promisify()https://beta.docs.nodejs.org/util.html#utilpromisifyoriginal
crypto.generateKeyPairSynchttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairsynctype-options
Add support for SLH-DSA key pairs.v24.8.0https://github.com/nodejs/node/pull/59537
Add support for ML-KEM key pairs.v24.7.0https://github.com/nodejs/node/pull/59461
Add support for ML-DSA key pairs.v24.6.0https://github.com/nodejs/node/pull/59259
Add ability to define RSASSA-PSS-params sequence parameters for RSA-PSS keys pairs.v16.10.0https://github.com/nodejs/node/pull/39927
Add support for Diffie-Hellman.v13.9.0, v12.17.0https://github.com/nodejs/node/pull/31178
Add support for RSA-PSS key pairs.v12.0.0https://github.com/nodejs/node/pull/26960
Add ability to generate X25519 and X448 key pairs.v12.0.0https://github.com/nodejs/node/pull/26774
Add ability to generate Ed25519 and Ed448 key pairs.v12.0.0https://github.com/nodejs/node/pull/26554
The generateKeyPair and generateKeyPairSync functions now produce key objects if no encoding was specified.v11.6.0https://github.com/nodejs/node/pull/24234
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.getDiffieHellman()https://beta.docs.nodejs.org/crypto.html#cryptogetdiffiehellmangroupname
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
keyObject.export()https://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.generateKeySynchttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeysynctype-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createHmac()https://beta.docs.nodejs.org/crypto.html#cryptocreatehmacalgorithm-key-options
crypto.generatePrimehttps://beta.docs.nodejs.org/crypto.html#cryptogenerateprimesize-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
crypto.generatePrimeSynchttps://beta.docs.nodejs.org/crypto.html#cryptogenerateprimesyncsize-options
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
crypto.getCipherInfohttps://beta.docs.nodejs.org/crypto.html#cryptogetcipherinfonameornid-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.getCiphershttps://beta.docs.nodejs.org/crypto.html#cryptogetciphers
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.getCurveshttps://beta.docs.nodejs.org/crypto.html#cryptogetcurves
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.getDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptogetdiffiehellmangroupname
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#class-diffiehellmangroup
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#class-diffiehellmangroup
crypto.createDiffieHellman()https://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmanprime-primeencoding-generator-generatorencoding
diffieHellman.setPublicKey()https://beta.docs.nodejs.org/crypto.html#diffiehellmansetpublickeypublickey-encoding
crypto.getFipshttps://beta.docs.nodejs.org/crypto.html#cryptogetfips
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
crypto.getHasheshttps://beta.docs.nodejs.org/crypto.html#cryptogethashes
Names and aliases exposed by loaded OpenSSL providers that match the default property query are now included.v26.9.0https://github.com/nodejs/node/pull/65484
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.createHash()https://beta.docs.nodejs.org/crypto.html#cryptocreatehashalgorithm-options
crypto.hash()https://beta.docs.nodejs.org/crypto.html#cryptohashalgorithm-data-options
crypto.getMacshttps://beta.docs.nodejs.org/crypto.html#cryptogetmacs
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.createMac()https://beta.docs.nodejs.org/crypto.html#cryptocreatemacalgorithm-key-options
crypto.setFips()https://beta.docs.nodejs.org/crypto.html#cryptosetfipsbool
crypto.getRandomValueshttps://beta.docs.nodejs.org/crypto.html#cryptogetrandomvaluestypedarray
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
crypto.webcrypto.getRandomValues()https://beta.docs.nodejs.org/webcrypto.html#cryptogetrandomvaluestypedarray
crypto.webcrypto.getRandomValues()https://beta.docs.nodejs.org/webcrypto.html#cryptogetrandomvaluestypedarray
crypto.hashhttps://beta.docs.nodejs.org/crypto.html#cryptohashalgorithm-data-options
Hash algorithms exposed by OpenSSL providers are now supported. The functionName and customization options were added for cSHAKE hash functions.v26.9.0https://github.com/nodejs/node/pull/65484
This API is no longer experimental.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/60994
The outputLength option was added for XOF hash functions.v24.4.0https://github.com/nodejs/node/pull/58121
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Encodinghttps://beta.docs.nodejs.org/buffer.html#buffers-and-character-encodings
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.hkdfhttps://beta.docs.nodejs.org/crypto.html#cryptohkdfdigest-ikm-salt-info-keylen-callback
The input keying material can now be zero-length.v18.8.0, v16.18.0https://github.com/nodejs/node/pull/44201
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
crypto.hkdfSynchttps://beta.docs.nodejs.org/crypto.html#cryptohkdfsyncdigest-ikm-salt-info-keylen
The input keying material can now be zero-length.v18.8.0, v16.18.0https://github.com/nodejs/node/pull/44201
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
crypto.parsePKCS12https://beta.docs.nodejs.org/crypto.html#cryptoparsepkcs12bundle-options
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
crypto.pbkdf2https://beta.docs.nodejs.org/crypto.html#cryptopbkdf2password-salt-iterations-keylen-digest-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The password and salt arguments can also be ArrayBuffer instances.v15.0.0https://github.com/nodejs/node/pull/35093
The iterations parameter is now restricted to positive values. Earlier releases treated other values as one.v14.0.0https://github.com/nodejs/node/pull/30578
The digest parameter is always required now.v8.0.0https://github.com/nodejs/node/pull/11305
Calling this function without passing the digest parameter is deprecated now and will emit a warning.v6.0.0https://github.com/nodejs/node/pull/4047
The default encoding for password if it is a string changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html
NIST SP 800-132https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
UV_THREADPOOL_SIZEhttps://beta.docs.nodejs.org/cli.html#uv_threadpool_sizesize
crypto.pbkdf2Synchttps://beta.docs.nodejs.org/crypto.html#cryptopbkdf2syncpassword-salt-iterations-keylen-digest
The password and salt arguments can also be ArrayBuffer instances.v15.0.0https://github.com/nodejs/node/pull/35093
The iterations parameter is now restricted to positive values. Earlier releases treated other values as one.v14.0.0https://github.com/nodejs/node/pull/30578
Calling this function without passing the digest parameter is deprecated now and will emit a warning.v6.0.0https://github.com/nodejs/node/pull/4047
The default encoding for password if it is a string changed from binary to utf8.v6.0.0https://github.com/nodejs/node/pull/5522
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html
NIST SP 800-132https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.privateDecrypthttps://beta.docs.nodejs.org/crypto.html#cryptoprivatedecryptprivatekey-buffer
The mgf1Hash option was added.v26.8.0https://github.com/nodejs/node/pull/65073
The RSA_PKCS1_PADDING padding was disabled unless the OpenSSL build supports implicit rejection.v21.6.2, v20.11.1, v18.19.1https://github.com/nodejs-private/node-private/pull/515
Added string, ArrayBuffer, and CryptoKey as allowable key types. The oaepLabel can be an ArrayBuffer. The buffer can be a string or ArrayBuffer. All types that accept buffers are limited to a maximum of 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
The oaepLabel option was added.v12.11.0https://github.com/nodejs/node/pull/29489
The oaepHash option was added.v12.9.0https://github.com/nodejs/node/pull/28335
This function now supports key objects.v11.6.0https://github.com/nodejs/node/pull/24234
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
crypto.publicEncrypt()https://beta.docs.nodejs.org/crypto.html#cryptopublicencryptkey-buffer
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.privateDecrypt()https://beta.docs.nodejs.org/crypto.html#cryptoprivatedecryptprivatekey-buffer
crypto.privateEncrypthttps://beta.docs.nodejs.org/crypto.html#cryptoprivateencryptprivatekey-buffer
Added string, ArrayBuffer, and CryptoKey as allowable key types. The passphrase can be an ArrayBuffer. The buffer can be a string or ArrayBuffer. All types that accept buffers are limited to a maximum of 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
This function now supports key objects.v11.6.0https://github.com/nodejs/node/pull/24234
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
crypto.publicDecrypt()https://beta.docs.nodejs.org/crypto.html#cryptopublicdecryptkey-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.publicDecrypthttps://beta.docs.nodejs.org/crypto.html#cryptopublicdecryptkey-buffer
Added string, ArrayBuffer, and CryptoKey as allowable key types. The passphrase can be an ArrayBuffer. The buffer can be a string or ArrayBuffer. All types that accept buffers are limited to a maximum of 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
This function now supports key objects.v11.6.0https://github.com/nodejs/node/pull/24234
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
crypto.privateEncrypt()https://beta.docs.nodejs.org/crypto.html#cryptoprivateencryptprivatekey-buffer
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.publicEncrypthttps://beta.docs.nodejs.org/crypto.html#cryptopublicencryptkey-buffer
The mgf1Hash option was added.v26.8.0https://github.com/nodejs/node/pull/65073
Added string, ArrayBuffer, and CryptoKey as allowable key types. The oaepLabel and passphrase can be ArrayBuffers. The buffer can be a string or ArrayBuffer. All types that accept buffers are limited to a maximum of 2 ** 31 - 1 bytes.v15.0.0https://github.com/nodejs/node/pull/35093
The oaepLabel option was added.v12.11.0https://github.com/nodejs/node/pull/29489
The oaepHash option was added.v12.9.0https://github.com/nodejs/node/pull/28335
This function now supports key objects.v11.6.0https://github.com/nodejs/node/pull/24234
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.privateDecrypt()https://beta.docs.nodejs.org/crypto.html#cryptoprivatedecryptprivatekey-buffer
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.randomByteshttps://beta.docs.nodejs.org/crypto.html#cryptorandombytessize-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Passing null as the callback argument now throws ERR_INVALID_CALLBACK.v9.0.0https://github.com/nodejs/node/pull/16454
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
UV_THREADPOOL_SIZEhttps://beta.docs.nodejs.org/cli.html#uv_threadpool_sizesize
crypto.randomFillhttps://beta.docs.nodejs.org/crypto.html#cryptorandomfillbuffer-offset-size-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The buffer argument may be any TypedArray or DataView.v9.0.0https://github.com/nodejs/node/pull/15231
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
crypto.randomBytes()https://beta.docs.nodejs.org/crypto.html#cryptorandombytessize-callback
Bufferhttps://beta.docs.nodejs.org/buffer.html
UV_THREADPOOL_SIZEhttps://beta.docs.nodejs.org/cli.html#uv_threadpool_sizesize
crypto.randomFillSynchttps://beta.docs.nodejs.org/crypto.html#cryptorandomfillsyncbuffer-offset-size
The buffer argument may be any TypedArray or DataView.v9.0.0https://github.com/nodejs/node/pull/15231
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
crypto.randomFill()https://beta.docs.nodejs.org/crypto.html#cryptorandomfillbuffer-offset-size-callback
crypto.randomInthttps://beta.docs.nodejs.org/crypto.html#cryptorandomintmin-max-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
modulo biashttps://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias
safe integershttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger
crypto.randomUUIDhttps://beta.docs.nodejs.org/crypto.html#cryptorandomuuidoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RFC 4122https://www.rfc-editor.org/rfc/rfc4122.txt
crypto.randomUUIDv7https://beta.docs.nodejs.org/crypto.html#cryptorandomuuidv7options
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RFC 9562https://www.rfc-editor.org/rfc/rfc9562.txt
crypto.scrypthttps://beta.docs.nodejs.org/crypto.html#cryptoscryptpassword-salt-keylen-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The password and salt arguments can also be ArrayBuffer instances.v15.0.0https://github.com/nodejs/node/pull/35093
The maxmem value can now be any safe integer.v12.8.0, v10.17.0https://github.com/nodejs/node/pull/28799
The cost, blockSize and parallelization option names have been added.v10.9.0https://github.com/nodejs/node/pull/21525
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
scrypthttps://en.wikipedia.org/wiki/Scrypt
NIST SP 800-132https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.scryptSynchttps://beta.docs.nodejs.org/crypto.html#cryptoscryptsyncpassword-salt-keylen-options
The maxmem value can now be any safe integer.v12.8.0, v10.17.0https://github.com/nodejs/node/pull/28799
The cost, blockSize and parallelization option names have been added.v10.9.0https://github.com/nodejs/node/pull/21525
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
scrypthttps://en.wikipedia.org/wiki/Scrypt
NIST SP 800-132https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
caveats when using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
Bufferhttps://beta.docs.nodejs.org/buffer.html
crypto.secureHeapUsedhttps://beta.docs.nodejs.org/crypto.html#cryptosecureheapused
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
crypto.setEnginehttps://beta.docs.nodejs.org/crypto.html#cryptosetengineengine-flags
Custom engine support in OpenSSL 3 is deprecated.v22.4.0, v20.16.0https://github.com/nodejs/node/pull/53329
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
crypto.setFipshttps://beta.docs.nodejs.org/crypto.html#cryptosetfipsbool
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
--enable-fipshttps://beta.docs.nodejs.org/cli.html#--enable-fips
--force-fipshttps://beta.docs.nodejs.org/cli.html#--force-fips
crypto.signhttps://beta.docs.nodejs.org/crypto.html#cryptosignalgorithm-data-key-callback
Add support for Ed25519 context parameter.v26.0.0https://github.com/nodejs/node/pull/62474
Add support for ML-DSA, Ed448, and SLH-DSA context parameter.v24.8.0https://github.com/nodejs/node/pull/59570
Add support for SLH-DSA signing.v24.8.0https://github.com/nodejs/node/pull/59537
Add support for ML-DSA signing.v24.6.0https://github.com/nodejs/node/pull/59259
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Optional callback argument added.v15.12.0https://github.com/nodejs/node/pull/37500
This function now supports IEEE-P1363 DSA and ECDSA signatures.v13.2.0, v12.16.0https://github.com/nodejs/node/pull/29292
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPrivateKey()https://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
Bufferhttps://beta.docs.nodejs.org/buffer.html
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
RFC 8032https://www.rfc-editor.org/rfc/rfc8032.txt
crypto.subtlehttps://beta.docs.nodejs.org/crypto.html#cryptosubtle
SubtleCryptohttps://beta.docs.nodejs.org/webcrypto.html#class-subtlecrypto
crypto.webcrypto.subtlehttps://beta.docs.nodejs.org/webcrypto.html#class-subtlecrypto
crypto.timingSafeEqualhttps://beta.docs.nodejs.org/crypto.html#cryptotimingsafeequala-b
The a and b arguments can also be ArrayBuffer.v15.0.0https://github.com/nodejs/node/pull/35093
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
capability urlshttps://www.w3.org/TR/capability-urls/
crypto.verifyhttps://beta.docs.nodejs.org/crypto.html#cryptoverifyalgorithm-data-key-signature-callback
Add support for Ed25519 context parameter.v26.0.0https://github.com/nodejs/node/pull/62474
Add support for ML-DSA, Ed448, and SLH-DSA context parameter.v24.8.0https://github.com/nodejs/node/pull/59570
Add support for SLH-DSA signature verification.v24.8.0https://github.com/nodejs/node/pull/59537
Add support for ML-DSA signature verification.v24.6.0https://github.com/nodejs/node/pull/59259
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Optional callback argument added.v15.12.0https://github.com/nodejs/node/pull/37500
The data, key, and signature arguments can also be ArrayBuffer.v15.0.0https://github.com/nodejs/node/pull/35093
This function now supports IEEE-P1363 DSA and ECDSA signatures.v13.2.0, v12.16.0https://github.com/nodejs/node/pull/29292
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
CryptoKeyhttps://beta.docs.nodejs.org/webcrypto.html#class-cryptokey
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
SharedArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
crypto.getHashes()https://beta.docs.nodejs.org/crypto.html#cryptogethashes
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
crypto.createPublicKey()https://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
Bufferhttps://beta.docs.nodejs.org/buffer.html
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
1https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
RFC 8032https://www.rfc-editor.org/rfc/rfc8032.txt
crypto.webcryptohttps://beta.docs.nodejs.org/crypto.html#cryptowebcrypto
Cryptohttps://beta.docs.nodejs.org/webcrypto.html#class-crypto
Web Crypto API documentationhttps://beta.docs.nodejs.org/webcrypto.html
Noteshttps://beta.docs.nodejs.org/crypto.html#notes
Using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
String.prototype.normalize()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
Legacy streams API (prior to Node.js 0.10)https://beta.docs.nodejs.org/crypto.html#legacy-streams-api-prior-to-nodejs-010
Bufferhttps://beta.docs.nodejs.org/buffer.html
streamshttps://beta.docs.nodejs.org/stream.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
Support for weak or compromised algorithmshttps://beta.docs.nodejs.org/crypto.html#support-for-weak-or-compromised-algorithms
NIST SP 800-131Ahttps://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf
legacy providerhttps://beta.docs.nodejs.org/cli.html#--openssl-legacy-provider
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
AEAD algorithmshttps://en.wikipedia.org/wiki/Authenticated_encryption
RFC 3610https://www.rfc-editor.org/rfc/rfc3610.txt
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
crypto.createCipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
crypto.createDecipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
crypto.createCipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
crypto.createDecipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
stream.Transformhttps://beta.docs.nodejs.org/stream.html#class-streamtransform
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
2https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl30
3https://beta.docs.nodejs.org/crypto.html#user-content-fn-openssl32
AEAD algorithmshttps://en.wikipedia.org/wiki/Authenticated_encryption
crypto.createCipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
crypto.createDecipheriv()https://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
OpenSSL FIPS module guidehttps://docs.openssl.org/master/man7/fips_module/
FIPS module configuration filehttps://docs.openssl.org/3.0/man5/fips_config/
--enable-fipshttps://beta.docs.nodejs.org/cli.html#--enable-fips
--force-fipshttps://beta.docs.nodejs.org/cli.html#--force-fips
OpenSSL FIPS configurationhttps://docs.openssl.org/3.0/man5/fips_config/
OpenSSL FIPS module guidehttps://docs.openssl.org/master/man7/fips_module/
--enable-fipshttps://beta.docs.nodejs.org/cli.html#--enable-fips
--force-fipshttps://beta.docs.nodejs.org/cli.html#--force-fips
--openssl-confighttps://beta.docs.nodejs.org/cli.html#--openssl-configfile
--openssl-shared-confighttps://beta.docs.nodejs.org/cli.html#--openssl-shared-config
--enable-fipshttps://beta.docs.nodejs.org/cli.html#--enable-fips
--force-fipshttps://beta.docs.nodejs.org/cli.html#--force-fips
crypto.setFips()https://beta.docs.nodejs.org/crypto.html#cryptosetfipsbool
crypto.getFips()https://beta.docs.nodejs.org/crypto.html#cryptogetfips
--enable-fips-indicator-eventshttps://beta.docs.nodejs.org/cli.html#--enable-fips-indicator-events
'crypto.fips.indicator'https://beta.docs.nodejs.org/diagnostics_channel.html#event-cryptofipsindicator
OpenSSL FIPS provider limitationshttps://docs.openssl.org/3.6/man7/OSSL_PROVIDER-FIPS/
Crypto constantshttps://beta.docs.nodejs.org/crypto.html#crypto-constants
OpenSSL optionshttps://beta.docs.nodejs.org/crypto.html#openssl-options
list of SSL OP Flagshttps://wiki.openssl.org/index.php/List_of_SSL_OP_Flags#Table_of_Options
https://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_options.htmlhttps://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_options.html
https://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_options.htmlhttps://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_options.html
https://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_options.htmlhttps://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_options.html
OpenSSL engine constantshttps://beta.docs.nodejs.org/crypto.html#openssl-engine-constants
Other OpenSSL constantshttps://beta.docs.nodejs.org/crypto.html#other-openssl-constants
Node.js crypto constantshttps://beta.docs.nodejs.org/crypto.html#nodejs-crypto-constants
↩https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35
↩2https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-2
↩3https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-3
↩4https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-4
↩5https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-5
↩6https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-6
↩7https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-7
↩8https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-8
↩9https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-9
↩10https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-10
↩11https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-11
↩12https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-12
↩13https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-13
↩14https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-14
↩15https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-15
↩16https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-16
↩17https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-17
↩18https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-18
↩19https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-19
↩20https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-20
↩21https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-21
↩22https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-22
↩23https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-23
↩24https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl35-24
↩https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl30
↩2https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl30-2
↩3https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl30-3
↩https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32
↩2https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32-2
↩3https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32-3
↩4https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32-4
↩5https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32-5
↩6https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32-6
↩7https://beta.docs.nodejs.org/crypto.html#user-content-fnref-openssl32-7
NextCertificatehttps://beta.docs.nodejs.org/crypto/Certificate.html
JSONhttps://beta.docs.nodejs.org/crypto.json
MDhttps://beta.docs.nodejs.org/crypto.md
Edit this pagehttps://github.com/nodejs/node/edit/HEAD/doc/api/crypto.md
Determining if crypto support is unavailablehttps://beta.docs.nodejs.org/crypto.html#determining-if-crypto-support-is-unavailable
Asymmetric key typeshttps://beta.docs.nodejs.org/crypto.html#asymmetric-key-types
Key formatshttps://beta.docs.nodejs.org/crypto.html#key-formats
Choosing a key formathttps://beta.docs.nodejs.org/crypto.html#choosing-a-key-format
Exampleshttps://beta.docs.nodejs.org/crypto.html#examples
Certificatehttps://beta.docs.nodejs.org/crypto.html#class-certificate
Certificate.exportChallengehttps://beta.docs.nodejs.org/crypto.html#static-method-certificateexportchallengespkac-encoding
Certificate.exportPublicKeyhttps://beta.docs.nodejs.org/crypto.html#static-method-certificateexportpublickeyspkac-encoding
Certificate.verifySpkachttps://beta.docs.nodejs.org/crypto.html#static-method-certificateverifyspkacspkac-encoding
Legacy APIDhttps://beta.docs.nodejs.org/crypto.html#legacy-api
Cipherivhttps://beta.docs.nodejs.org/crypto.html#class-cipheriv
cipher.finalhttps://beta.docs.nodejs.org/crypto.html#cipherfinaloutputencoding
cipher.getAuthTaghttps://beta.docs.nodejs.org/crypto.html#ciphergetauthtag
cipher.setAADhttps://beta.docs.nodejs.org/crypto.html#ciphersetaadbuffer-options
cipher.setAutoPaddinghttps://beta.docs.nodejs.org/crypto.html#ciphersetautopaddingautopadding
cipher.updatehttps://beta.docs.nodejs.org/crypto.html#cipherupdatedata-inputencoding-outputencoding
Decipherivhttps://beta.docs.nodejs.org/crypto.html#class-decipheriv
decipher.finalhttps://beta.docs.nodejs.org/crypto.html#decipherfinaloutputencoding
decipher.setAADhttps://beta.docs.nodejs.org/crypto.html#deciphersetaadbuffer-options
decipher.setAuthTaghttps://beta.docs.nodejs.org/crypto.html#deciphersetauthtagbuffer-encoding
decipher.setAutoPaddinghttps://beta.docs.nodejs.org/crypto.html#deciphersetautopaddingautopadding
decipher.updatehttps://beta.docs.nodejs.org/crypto.html#decipherupdatedata-inputencoding-outputencoding
DiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#class-diffiehellman
diffieHellman.computeSecrethttps://beta.docs.nodejs.org/crypto.html#diffiehellmancomputesecretotherpublickey-inputencoding-outputencoding
diffieHellman.generateKeyshttps://beta.docs.nodejs.org/crypto.html#diffiehellmangeneratekeysencoding
diffieHellman.getGeneratorhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetgeneratorencoding
diffieHellman.getPrimehttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetprimeencoding
diffieHellman.getPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetprivatekeyencoding
diffieHellman.getPublicKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmangetpublickeyencoding
diffieHellman.setPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmansetprivatekeyprivatekey-encoding
diffieHellman.setPublicKeyhttps://beta.docs.nodejs.org/crypto.html#diffiehellmansetpublickeypublickey-encoding
diffieHellman.verifyErrorhttps://beta.docs.nodejs.org/crypto.html#diffiehellmanverifyerror
DiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#class-diffiehellmangroup
ECDHhttps://beta.docs.nodejs.org/crypto.html#class-ecdh
ECDH.convertKeyhttps://beta.docs.nodejs.org/crypto.html#static-method-ecdhconvertkeykey-curve-inputencoding-outputencoding-format
ecdh.computeSecrethttps://beta.docs.nodejs.org/crypto.html#ecdhcomputesecretotherpublickey-inputencoding-outputencoding
ecdh.generateKeyshttps://beta.docs.nodejs.org/crypto.html#ecdhgeneratekeysencoding-format
ecdh.getPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhgetprivatekeyencoding
ecdh.getPublicKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhgetpublickeyencoding-format
ecdh.setPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#ecdhsetprivatekeyprivatekey-encoding
ecdh.setPublicKeyDhttps://beta.docs.nodejs.org/crypto.html#ecdhsetpublickeypublickey-encoding
Hashhttps://beta.docs.nodejs.org/crypto.html#class-hash
hash.copyhttps://beta.docs.nodejs.org/crypto.html#hashcopyoptions
hash.digesthttps://beta.docs.nodejs.org/crypto.html#hashdigestencoding
hash.updatehttps://beta.docs.nodejs.org/crypto.html#hashupdatedata-inputencoding
Hmachttps://beta.docs.nodejs.org/crypto.html#class-hmac
hmac.digesthttps://beta.docs.nodejs.org/crypto.html#hmacdigestencoding
hmac.updatehttps://beta.docs.nodejs.org/crypto.html#hmacupdatedata-inputencoding
KeyObjecthttps://beta.docs.nodejs.org/crypto.html#class-keyobject
KeyObject.fromhttps://beta.docs.nodejs.org/crypto.html#static-method-keyobjectfromkey
keyObject.asymmetricKeyDetailshttps://beta.docs.nodejs.org/crypto.html#keyobjectasymmetrickeydetails
keyObject.asymmetricKeyTypehttps://beta.docs.nodejs.org/crypto.html#keyobjectasymmetrickeytype
keyObject.equalshttps://beta.docs.nodejs.org/crypto.html#keyobjectequalsotherkeyobject
keyObject.exporthttps://beta.docs.nodejs.org/crypto.html#keyobjectexportoptions
keyObject.symmetricKeySizehttps://beta.docs.nodejs.org/crypto.html#keyobjectsymmetrickeysize
keyObject.toCryptoKeyhttps://beta.docs.nodejs.org/crypto.html#keyobjecttocryptokeyalgorithm-extractable-keyusages
keyObject.typehttps://beta.docs.nodejs.org/crypto.html#keyobjecttype
Machttps://beta.docs.nodejs.org/crypto.html#class-mac
mac.finalhttps://beta.docs.nodejs.org/crypto.html#macfinaloutputencoding
mac.updatehttps://beta.docs.nodejs.org/crypto.html#macupdatedata-inputencoding
Signhttps://beta.docs.nodejs.org/crypto.html#class-sign
sign.signhttps://beta.docs.nodejs.org/crypto.html#signsignprivatekey-outputencoding
sign.updatehttps://beta.docs.nodejs.org/crypto.html#signupdatedata-inputencoding
Verifyhttps://beta.docs.nodejs.org/crypto.html#class-verify
verify.updatehttps://beta.docs.nodejs.org/crypto.html#verifyupdatedata-inputencoding
verify.verifyhttps://beta.docs.nodejs.org/crypto.html#verifyverifykey-signature-signatureencoding
X509Certificatehttps://beta.docs.nodejs.org/crypto.html#class-x509certificate
new X509Certificatehttps://beta.docs.nodejs.org/crypto.html#new-x509certificatebuffer
x509.cahttps://beta.docs.nodejs.org/crypto.html#x509ca
x509.checkEmailhttps://beta.docs.nodejs.org/crypto.html#x509checkemailemail-options
x509.checkHosthttps://beta.docs.nodejs.org/crypto.html#x509checkhostname-options
x509.checkIPhttps://beta.docs.nodejs.org/crypto.html#x509checkipip
x509.checkIssuedhttps://beta.docs.nodejs.org/crypto.html#x509checkissuedothercert
x509.checkPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#x509checkprivatekeyprivatekey
x509.fingerprinthttps://beta.docs.nodejs.org/crypto.html#x509fingerprint
x509.fingerprint256https://beta.docs.nodejs.org/crypto.html#x509fingerprint256
x509.fingerprint512https://beta.docs.nodejs.org/crypto.html#x509fingerprint512
x509.infoAccesshttps://beta.docs.nodejs.org/crypto.html#x509infoaccess
x509.issuerhttps://beta.docs.nodejs.org/crypto.html#x509issuer
x509.issuerCertificatehttps://beta.docs.nodejs.org/crypto.html#x509issuercertificate
x509.keyUsagehttps://beta.docs.nodejs.org/crypto.html#x509keyusage
x509.publicKeyhttps://beta.docs.nodejs.org/crypto.html#x509publickey
x509.rawhttps://beta.docs.nodejs.org/crypto.html#x509raw
x509.serialNumberhttps://beta.docs.nodejs.org/crypto.html#x509serialnumber
x509.subjecthttps://beta.docs.nodejs.org/crypto.html#x509subject
x509.subjectAltNamehttps://beta.docs.nodejs.org/crypto.html#x509subjectaltname
x509.toJSONhttps://beta.docs.nodejs.org/crypto.html#x509tojson
x509.toLegacyObjecthttps://beta.docs.nodejs.org/crypto.html#x509tolegacyobject
x509.toStringhttps://beta.docs.nodejs.org/crypto.html#x509tostring
x509.validFromhttps://beta.docs.nodejs.org/crypto.html#x509validfrom
x509.validFromDatehttps://beta.docs.nodejs.org/crypto.html#x509validfromdate
x509.validTohttps://beta.docs.nodejs.org/crypto.html#x509validto
x509.validToDatehttps://beta.docs.nodejs.org/crypto.html#x509validtodate
x509.signatureAlgorithmhttps://beta.docs.nodejs.org/crypto.html#x509signaturealgorithm
x509.signatureAlgorithmOidhttps://beta.docs.nodejs.org/crypto.html#x509signaturealgorithmoid
x509.verifyhttps://beta.docs.nodejs.org/crypto.html#x509verifypublickey
crypto module methods and propertieshttps://beta.docs.nodejs.org/crypto.html#nodecrypto-module-methods-and-properties
crypto.argon2https://beta.docs.nodejs.org/crypto.html#cryptoargon2algorithm-parameters-callback
crypto.argon2Synchttps://beta.docs.nodejs.org/crypto.html#cryptoargon2syncalgorithm-parameters
crypto.checkPrimehttps://beta.docs.nodejs.org/crypto.html#cryptocheckprimecandidate-options-callback
crypto.checkPrimeSynchttps://beta.docs.nodejs.org/crypto.html#cryptocheckprimesynccandidate-options
crypto.constantshttps://beta.docs.nodejs.org/crypto.html#cryptoconstants
crypto.createCipherivhttps://beta.docs.nodejs.org/crypto.html#cryptocreatecipherivalgorithm-key-iv-options
crypto.createDecipherivhttps://beta.docs.nodejs.org/crypto.html#cryptocreatedecipherivalgorithm-key-iv-options
crypto.createDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmanprime-primeencoding-generator-generatorencoding
crypto.createDiffieHellmanGrouphttps://beta.docs.nodejs.org/crypto.html#cryptocreatediffiehellmangroupname
crypto.createECDHhttps://beta.docs.nodejs.org/crypto.html#cryptocreateecdhcurvename
crypto.createHashhttps://beta.docs.nodejs.org/crypto.html#cryptocreatehashalgorithm-options
crypto.createHmachttps://beta.docs.nodejs.org/crypto.html#cryptocreatehmacalgorithm-key-options
crypto.createMacEhttps://beta.docs.nodejs.org/crypto.html#cryptocreatemacalgorithm-key-options
crypto.createPrivateKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreateprivatekeykey
crypto.createPublicKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreatepublickeykey
crypto.createSecretKeyhttps://beta.docs.nodejs.org/crypto.html#cryptocreatesecretkeykey-encoding
crypto.createSignhttps://beta.docs.nodejs.org/crypto.html#cryptocreatesignalgorithm-options
crypto.createVerifyhttps://beta.docs.nodejs.org/crypto.html#cryptocreateverifyalgorithm-options
crypto.decapsulatehttps://beta.docs.nodejs.org/crypto.html#cryptodecapsulatekey-ciphertext-callback
crypto.diffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptodiffiehellmanoptions-callback
crypto.encapsulatehttps://beta.docs.nodejs.org/crypto.html#cryptoencapsulatekey-callback
crypto.fipsDhttps://beta.docs.nodejs.org/crypto.html#cryptofips
crypto.generateKeyhttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeytype-options-callback
crypto.generateKeyPairhttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairtype-options-callback
crypto.generateKeyPairSynchttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeypairsynctype-options
crypto.generateKeySynchttps://beta.docs.nodejs.org/crypto.html#cryptogeneratekeysynctype-options
crypto.generatePrimehttps://beta.docs.nodejs.org/crypto.html#cryptogenerateprimesize-options-callback
crypto.generatePrimeSynchttps://beta.docs.nodejs.org/crypto.html#cryptogenerateprimesyncsize-options
crypto.getCipherInfohttps://beta.docs.nodejs.org/crypto.html#cryptogetcipherinfonameornid-options
crypto.getCiphershttps://beta.docs.nodejs.org/crypto.html#cryptogetciphers
crypto.getCurveshttps://beta.docs.nodejs.org/crypto.html#cryptogetcurves
crypto.getDiffieHellmanhttps://beta.docs.nodejs.org/crypto.html#cryptogetdiffiehellmangroupname
crypto.getFipshttps://beta.docs.nodejs.org/crypto.html#cryptogetfips
crypto.getHasheshttps://beta.docs.nodejs.org/crypto.html#cryptogethashes
crypto.getMacsEhttps://beta.docs.nodejs.org/crypto.html#cryptogetmacs
crypto.getRandomValueshttps://beta.docs.nodejs.org/crypto.html#cryptogetrandomvaluestypedarray
crypto.hashhttps://beta.docs.nodejs.org/crypto.html#cryptohashalgorithm-data-options
crypto.hkdfhttps://beta.docs.nodejs.org/crypto.html#cryptohkdfdigest-ikm-salt-info-keylen-callback
crypto.hkdfSynchttps://beta.docs.nodejs.org/crypto.html#cryptohkdfsyncdigest-ikm-salt-info-keylen
crypto.parsePKCS12https://beta.docs.nodejs.org/crypto.html#cryptoparsepkcs12bundle-options
crypto.pbkdf2https://beta.docs.nodejs.org/crypto.html#cryptopbkdf2password-salt-iterations-keylen-digest-callback
crypto.pbkdf2Synchttps://beta.docs.nodejs.org/crypto.html#cryptopbkdf2syncpassword-salt-iterations-keylen-digest
crypto.privateDecrypthttps://beta.docs.nodejs.org/crypto.html#cryptoprivatedecryptprivatekey-buffer
crypto.privateEncrypthttps://beta.docs.nodejs.org/crypto.html#cryptoprivateencryptprivatekey-buffer
crypto.publicDecrypthttps://beta.docs.nodejs.org/crypto.html#cryptopublicdecryptkey-buffer
crypto.publicEncrypthttps://beta.docs.nodejs.org/crypto.html#cryptopublicencryptkey-buffer
crypto.randomByteshttps://beta.docs.nodejs.org/crypto.html#cryptorandombytessize-callback
crypto.randomFillhttps://beta.docs.nodejs.org/crypto.html#cryptorandomfillbuffer-offset-size-callback
crypto.randomFillSynchttps://beta.docs.nodejs.org/crypto.html#cryptorandomfillsyncbuffer-offset-size
crypto.randomInthttps://beta.docs.nodejs.org/crypto.html#cryptorandomintmin-max-callback
crypto.randomUUIDhttps://beta.docs.nodejs.org/crypto.html#cryptorandomuuidoptions
crypto.randomUUIDv7https://beta.docs.nodejs.org/crypto.html#cryptorandomuuidv7options
crypto.scrypthttps://beta.docs.nodejs.org/crypto.html#cryptoscryptpassword-salt-keylen-options-callback
crypto.scryptSynchttps://beta.docs.nodejs.org/crypto.html#cryptoscryptsyncpassword-salt-keylen-options
crypto.secureHeapUsedhttps://beta.docs.nodejs.org/crypto.html#cryptosecureheapused
crypto.setEngineDhttps://beta.docs.nodejs.org/crypto.html#cryptosetengineengine-flags
crypto.setFipshttps://beta.docs.nodejs.org/crypto.html#cryptosetfipsbool
crypto.signhttps://beta.docs.nodejs.org/crypto.html#cryptosignalgorithm-data-key-callback
crypto.subtlehttps://beta.docs.nodejs.org/crypto.html#cryptosubtle
crypto.timingSafeEqualhttps://beta.docs.nodejs.org/crypto.html#cryptotimingsafeequala-b
crypto.verifyhttps://beta.docs.nodejs.org/crypto.html#cryptoverifyalgorithm-data-key-signature-callback
crypto.webcryptohttps://beta.docs.nodejs.org/crypto.html#cryptowebcrypto
Noteshttps://beta.docs.nodejs.org/crypto.html#notes
Using strings as inputs to cryptographic APIshttps://beta.docs.nodejs.org/crypto.html#using-strings-as-inputs-to-cryptographic-apis
Legacy streams API (prior to Node.js 0.10)https://beta.docs.nodejs.org/crypto.html#legacy-streams-api-prior-to-nodejs-010
Support for weak or compromised algorithmshttps://beta.docs.nodejs.org/crypto.html#support-for-weak-or-compromised-algorithms
CCM modehttps://beta.docs.nodejs.org/crypto.html#ccm-mode
CBC-CTS modehttps://beta.docs.nodejs.org/crypto.html#cbc-cts-mode
XTS modehttps://beta.docs.nodejs.org/crypto.html#xts-mode
AES key wrap modeshttps://beta.docs.nodejs.org/crypto.html#aes-key-wrap-modes
SIV and GCM-SIV modeshttps://beta.docs.nodejs.org/crypto.html#siv-and-gcm-siv-modes
FIPS modehttps://beta.docs.nodejs.org/crypto.html#fips-mode
Crypto constantshttps://beta.docs.nodejs.org/crypto.html#crypto-constants
OpenSSL optionshttps://beta.docs.nodejs.org/crypto.html#openssl-options
OpenSSL engine constantshttps://beta.docs.nodejs.org/crypto.html#openssl-engine-constants
Other OpenSSL constantshttps://beta.docs.nodejs.org/crypto.html#other-openssl-constants
Node.js crypto constantshttps://beta.docs.nodejs.org/crypto.html#nodejs-crypto-constants

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.