method

CryptoHasher.update

inputEncoding?: Encoding

Update the hash with data

@param input

Data to add to the hash. Uint8Array or ArrayBuffer is faster than a string

Referenced types

type BlobOrStringOrBuffer =
| string
| NodeJS.TypedArray
| ArrayBufferLike

class CryptoHasher

Hardware-accelerated cryptographic hash functions

Used for crypto.createHash()