constructor
bun.CryptoHasher.constructor
constructor CryptoHasher(
hmacKey?: string | TypedArray<ArrayBufferLike>
Create a new hasher
@param algorithm
The algorithm to use. See algorithms for a list of supported algorithms
@param hmacKey
Optional key for HMAC. If not provided, the hasher is a regular (non-HMAC) hasher.