1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-04 02:33:33 +00:00

default low kdf - just for testing

This commit is contained in:
Maciej Zieniuk
2025-09-29 20:47:53 +01:00
parent cb20889a94
commit 81b35fadd4

View File

@@ -14,7 +14,7 @@ export type KdfConfig = PBKDF2KdfConfig | Argon2KdfConfig;
* Password-Based Key Derivation Function 2 (PBKDF2) KDF configuration.
*/
export class PBKDF2KdfConfig {
static ITERATIONS = new RangeWithDefault(600_000, 2_000_000, 600_000);
static ITERATIONS = new RangeWithDefault(5_000, 2_000_000, 5_000);
static PRELOGIN_ITERATIONS_MIN = 5000;
kdfType: KdfType.PBKDF2_SHA256 = KdfType.PBKDF2_SHA256;
iterations: number;