mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
changed key derivation function, using scrypt (from tarsnap) now instead of my own derivation function
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user