Use more iterations for unlocking

This commit is contained in:
Jakob Nixdorf 2021-04-08 19:23:30 +02:00
parent 199a151fc5
commit 29c59381fe
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -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