On this page

new Hash(): Hash
Returns:Hash
digest(): void
Returns:Buffer

Calculates the digest https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding

Attributes
encoding:string
Returns:string

Calculates the digest https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding


update(data): void
Attributes
data:string | Buffer<ArrayBufferLike>
Returns:Hash

Update hash https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding

Attributes
data:string
inputEncoding:string
Returns:Hash

Update hash https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding