KdfLimitOptions
KdfLimitOptions
Caller-supplied bound on password-based KDF work.
ts
interface KdfLimitOptions {
readonly maxKdfIterations?: number;
}Properties
readonlymaxKdfIterations?:number— Maximum KDF iteration count accepted from the input. Higher counts fail before any derivation runs. Defaults to2_000_000for PBKDF2 and100_000for the PKCS#12 KDF, which costs more per round. In a PFX the PBES2-encrypted entries share one budget of this size and the MAC has a separate budget of this size.