From 29c59381fea3d15fedbc3405838072e13ed440e9 Mon Sep 17 00:00:00 2001 From: Jakob Nixdorf Date: Thu, 8 Apr 2021 19:23:30 +0200 Subject: [PATCH] Use more iterations for unlocking --- .../java/org/shadowice/flocke/andotp/Utilities/Constants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/shadowice/flocke/andotp/Utilities/Constants.java b/app/src/main/java/org/shadowice/flocke/andotp/Utilities/Constants.java index ee5bacf6..42a2b13f 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/Utilities/Constants.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/Utilities/Constants.java @@ -116,8 +116,8 @@ public class Constants { final static int PBKDF2_SALT_LENGTH = 16; // PBKDF2 settings for authentication - final static int PBKDF2_TARGET_AUTH_TIME = 500; // ms - final static int PBKDF2_MIN_AUTH_ITERATIONS = 20000; + final static int PBKDF2_TARGET_AUTH_TIME = 1000; // ms + final static int PBKDF2_MIN_AUTH_ITERATIONS = 30000; final static int PBKDF2_BENCHMARK_ITERATIONS = 50000; // PBKDF2 settings for backups