APIActive

Node.js Crypto Module

Node.js built-in cryptographic module providing hashing, encryption, key generation, and TLS utilities.

Open source page

Product features

Product features

Asymmetric key types #

Choosing a key format #

Class: Certificate #

Crypto #

Determining if crypto support is unavailable #

Examples #

Key formats #

Legacy API #

Node.js v26.7.0 documentation

Static method: Certificate.exportChallenge(spkac[, encoding]) #

Static method: Certificate.exportPublicKey(spkac[, encoding]) #

Static method: Certificate.verifySpkac(spkac[, encoding]) #