0 votes
in NodeJS Essentials by

Which of the following is used to encrypt data in Node.js?

A) crypto.createCipher()

B) crypto.encrypt()

C) crypto.hash()

D) crypto.encode()

1 Answer

0 votes
by
Answer: A

Explanation: The crypto.createCipher() method is used to encrypt data in Node.js.
...