Skip to main content
HashOptions.outputLength - crypto - Node documentation
property HashOptions.outputLength

Usage in Deno

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

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

Type

number | undefined