c,python: Change the algorithm for hashing the master password to Argon2
This commit is contained in:
@ -8,7 +8,7 @@ typedef struct passgeny passgeny_t;
|
||||
|
||||
struct passgeny
|
||||
{
|
||||
uint8_t pg_master_hash[32]; /* SHA256 of the master password */
|
||||
uint8_t pg_master_hash[128]; /* Hash of the master password */
|
||||
char *pg_pattern; /* Password pattern */
|
||||
double pg_last_bits_total; /* Total bits that were available for generating the last password */
|
||||
double pg_last_bits_used; /* Bits consumed when calculating the last password */
|
||||
|
||||
Reference in New Issue
Block a user