# HG changeset patch # User Guido Berhoerster # Date 1530967111 -7200 # Node ID 00ca3ee8e3102357a1cb5a3698d829fbeb8bec2e # Parent a779ed022a874c1e07d431cefa46bc40bf53e92b Perform 500000 iterations with the PBKDF2 hash function when creating new files This is still reasonably fast on modern hardware. diff -r a779ed022a87 -r 00ca3ee8e310 sencrypt.c --- a/sencrypt.c Tue Sep 13 20:25:17 2016 +0200 +++ b/sencrypt.c Sat Jul 07 14:38:31 2018 +0200 @@ -45,7 +45,7 @@ #define EXIT_USAGE 2 #define SENCRYPT_FORMAT_VERSION 1 -#define PBKDF2_ITERATIONS 50000 +#define PBKDF2_ITERATIONS 500000 #define SALT_LEN 16 #define BUFFER_SIZE (16 * 1024) #define MAX_PASSWORD_LEN 256