HashOptions - Node documentation
interface HashOptions
extends [stream.TransformOptions]

Usage in Deno

import { type HashOptions } from "node:crypto";

Properties

optional
outputLength: number | undefined

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