diff --git a/apps/src/lib/wallet/keys.rs b/apps/src/lib/wallet/keys.rs index 0f1f43189e..1c521e7515 100644 --- a/apps/src/lib/wallet/keys.rs +++ b/apps/src/lib/wallet/keys.rs @@ -235,6 +235,6 @@ fn encryption_salt() -> kdf::Salt { /// Make encryption secret key from a password. fn encryption_key(salt: &kdf::Salt, password: String) -> kdf::SecretKey { kdf::Password::from_slice(password.as_bytes()) - .and_then(|password| kdf::derive_key(&password, salt, 3, 1 << 17, 32)) + .and_then(|password| kdf::derive_key(&password, salt, 3, 1 << 16, 32)) .expect("Generation of encryption secret key shouldn't fail") }