changed key derivation function, using scrypt (from tarsnap) now instead of my own derivation function

This commit is contained in:
git@daemon.de
2014-01-16 15:25:09 +01:00
parent ce0ec4d5ec
commit 691786cc68
66 changed files with 5449 additions and 1042 deletions

View File

@@ -23,13 +23,14 @@ int main() {
pw *item;
pw *list = NULL;
pw *have = NULL;
unsigned char nonce[32] = {1};
sodium_init();
for(i=97; i<126; ++i) {
pass[0] = i;
pass[1] = 0;
h = pcp_derivekey(pass);
h = pcp_derivekey(pass, nonce);
p =0;
for(t=0; t<32; ++t) {