Skip to content

Argon2Options ​

Argon2Options ​

Resource policy and optional external implementation for deriveArgon2.

ts
interface Argon2Options {
	readonly limits?: Argon2Limits;
	readonly backend?: Argon2Backend | "native" | "portable";
}

Properties

  • readonly limits?: Argon2Limits — Per-call ceilings. Applications must separately bound concurrent calls.
  • readonly backend?: Argon2Backend | "native" | "portable" — Omit to prefer native WebCrypto, then the TypeScript implementation on unsupported only. Select native or portable to require that implementation, or supply a trusted callback. Explicit selections never fall back to another backend.

Released under the MIT License.