The Hash class is a utility for creating hash digests of data. It can be used in one of two ways:
The crypto.createHash() method is used to create Hash instances. Hash objects are not to be created directly using the new keyword.
Creates and returns a Hash object that can be used to generate hash digests
using the given
options argument controls stream behavior.
Returns an array of the names of the supported hash algorithms, such as 'sha1'.