PoutputLength
Bun

property

crypto.OneShotDigestOptions.outputLength

outputLength?: number

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