Skip to content

Tag Archives: Node.js-crypto-module

The crypto.privateEncrypt() method is used to encrypt the stated content of the buffer with the parameter ‘privateKey’. Syntax: crypto.privateEncrypt( privateKey, buffer ) Parameters: This method… Read More
The crypto.createECDH() method is an inbuilt application programming interface of crypto module which is used to create an Elliptic Curve Diffie-Hellman i.e, (ECDH) key exchange… Read More
The crypto.createDecipheriv() method is an inbuilt application programming interface of crypto module which is used to create a Decipher object, with the stated algorithm, key… Read More
The crypto.createCipheriv() method is an inbuilt application programming interface of the crypto module which is used to create a Cipher object, with the stated algorithm,… Read More
The script.createCachedData() method is an inbuilt application programming interface of script module which is used to create a code cache that can be used with… Read More
The crypto.getDiffieHellman() method is used to create a predefined DiffieHellmanGroup key exchange object. Here, the favored groups are ‘modp1’, ‘modp2’, ‘modp5’, which are defined in… Read More
The crypto.pbkdf2() method gives an asynchronous Password-Based Key Derivation Function 2 i.e. (PBKDF2) implementation. Moreover, a particular HMAC digest algorithm which is defined by digest… Read More
The crypto.createHash() method is used to create a Hash object that can be used to create hash digests by using the stated algorithm.  Syntax: crypto.createHash(… Read More
The crypto.createHmac() method is used to create an Hmac object that uses the stated ‘algorithm’ and ‘key’. Syntax: crypto.createHmac( algorithm, key, options ) Parameters: This… Read More
The crypto.randomBytes() method is used to generate a cryptographically well-built artificial random data and the number of bytes to be generated in the written code.Syntax:  … Read More
The crypto.publicDecrypt() method is used to decrypt the content of the buffer with key which was previously encrypted using the corresponding private key, i.e. crypto.privateEncrypt()… Read More
The crypto.pbkdf2Sync() method gives a synchronous Password-Based Key Derivation Function 2 i.e, (PBKDF2) implementation. Moreover, a particular HMAC digest algorithm which is defined by digest… Read More
The crypto.getCurves() method is an inbuilt application programming interface of the crypto module which is used to display an array with the names of all… Read More
The crypto.getHashes() method is an inbuilt application programming interface of crypto module which is used to display the names of all the supported hash algorithms… Read More
The crypto.createSign() method is used to create a Sign object that uses the stated algorithm. Moreover, you can use crypto.getHashes() method to access the names… Read More

Start Your Coding Journey Now!