projects/sencrypt

changeset 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 Jul 07 14:38:31 2018 +0200 (2018-07-07)
parents a779ed022a87
children d9c4bdc004d2
files sencrypt.c
line diff
     1.1 --- a/sencrypt.c	Tue Sep 13 20:25:17 2016 +0200
     1.2 +++ b/sencrypt.c	Sat Jul 07 14:38:31 2018 +0200
     1.3 @@ -45,7 +45,7 @@
     1.4  #define	EXIT_USAGE	2
     1.5  
     1.6  #define	SENCRYPT_FORMAT_VERSION	1
     1.7 -#define	PBKDF2_ITERATIONS	50000
     1.8 +#define	PBKDF2_ITERATIONS	500000
     1.9  #define	SALT_LEN		16
    1.10  #define	BUFFER_SIZE		(16 * 1024)
    1.11  #define	MAX_PASSWORD_LEN	256