Update complete SCRYPT workload tuning logic.

A detailed description will follow.
Set -m 8900 defaults to 16k:8:1 (default scrypt settings).
This commit is contained in:
Jens Steube
2021-04-16 20:17:53 +02:00
parent 96c6878efd
commit 57a8923b81
10 changed files with 204 additions and 283 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ sub module_generate_hash
{
my $word = shift;
my $salt = shift;
my $N = shift // 1024;
my $r = shift // 1;
my $N = shift // 16384;
my $r = shift // 8;
my $p = shift // 1;
my $hash_buf = scrypt_hash ($word, $salt, $N, $r, $p, 32);