PoutputLength
Bun

property

crypto.HashOptions.outputLength

outputLength?: number

For XOF hash functions such as shake256, the outputLength option can be used to specify the desired output length in bytes.