Parameters
- algo:
| "blake2b512"
| "blake2s256"
| "md5"
| "md5-sha1"
| "ripemd"
| "ripemd160"
| "rmd160"
| "sha1"
| "sha224"
| "sha256"
| "sha3-224"
| "sha3-256"
| "sha3-384"
| "sha3-512"
| "sha384"
| "sha512"
| "sha512-224"
| "sha512-256"
| "sm3" - message: Readable
Returns Promise<Buffer<ArrayBufferLike>>
A Promise
that resolves to a Buffer
containing the hash/digest of the stream.
Calculate the hash/digest of a stream using the specified algorithm.