Skip to content

Tag Archives: Node.js-crypto-module

The Crypto.randomInt method in Node.js is an inbuilt application programming interface of the crypto module which is used to create a random integer synchronously or… Read More
The decipher.update() method is an inbuilt application programming interface of class Decipher within crypto module which is used to update the decipher with the data… Read More
The decipher.final() method is an inbuilt application programming interface of class Decipher within crypto module which is used to return the buffer containing the value… Read More
The cipher.update() method is an inbuilt application programming interface of class Cipher within crypto module which is used to update the cipher with data according… Read More
The cipher.final() method is an inbuilt application programming interface of class Cipher within crypto module which is used to return the buffer containing the value… Read More
The crypto.createDiffieHellmanGroup() method is an inbuilt application programming interface of the crypto module which is used to create a DiffieHellmanGroup. Syntax: crypto.createDiffieHellmanGroup( name ) Parameters:… Read More
The crypto.createDiffieHellman() method is used to create a DiffieHellman key exchange object. Also, creates prime of primeLength bits with the help of an optional specific… Read More
The crypto.privateDecrypt() method is used to decrypt the content of the buffer with privateKey.buffer which was previously encrypted using the corresponding public key, i.e. crypto.publicEncrypt().… Read More
The crypto.createDiffieHellman() method is used to create a DiffieHellman key exchange object by using the stated prime and an optional specified generator.Syntax:   crypto.createDiffieHellman( prime, primeEncoding,… Read More
The crypto.generateKeyPair() method is an inbuilt application programming interface of crypto module which is used to generate a new asymmetric key pair of the specified… Read More
The crypto.publicEncrypt() method is an inbuilt application programming interface of the crypto module which is used to encrypt the stated content of the buffer with… Read More
The crypto.generateKeyPairSync() method is an inbuilt application programming interface of crypto module which is used to generate a new asymmetric key pair of the specified… Read More
The crypto.randomFillSync() method is an inbuilt application programming interface of crypto module which is used to return the object passed as buffer argument.Syntax:   crypto.randomFillSync( buffer,… Read More
The crypto.randomFill() method is same as crypto.randomBytes() method but the only difference is that here the first argument is buffer that will be filled and… Read More
The crypto.scrypt() method is an inbuilt application programming interface of crypto module which is used to enable an implementation of an asynchronous scrypt. Where, scrypt… Read More

Start Your Coding Journey Now!