Argon2Limits
Argon2Limits
Per-invocation ceilings, checked before copying inputs or calling the backend.
ts
interface Argon2Limits {
readonly maxMemoryKiB?: number;
readonly maxPasses?: number;
readonly maxParallelism?: number;
readonly maxOutputBytes?: number;
readonly maxInputBytes?: number;
}Properties
readonlymaxMemoryKiB?:number— Memory ceiling in KiB. Default: 262144 (256 MiB).readonlymaxPasses?:number— Pass ceiling. Default: 16.readonlymaxParallelism?:number— Lane ceiling. Default: 16.readonlymaxOutputBytes?:number— Output-byte ceiling. Default: 1024.readonlymaxInputBytes?:number— Sum of password, salt, secret, and associated-data lengths. Default: 1048576.