Mercurial > projects > sencrypt
diff sencrypt.c @ 15:00ca3ee8e310
Perform 500000 iterations with the PBKDF2 hash function when creating new files
This is still reasonably fast on modern hardware.
author | Guido Berhoerster <guido+sencrypt@berhoerster.name> |
---|---|
date | Sat, 07 Jul 2018 14:38:31 +0200 |
parents | 14e58decdf87 |
children | d9c4bdc004d2 |
line wrap: on
line diff
--- 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