Merge pull request #2348 from PalinuroSec/patch-2
[users] Use yescrypt instead of sha512
This commit is contained in:
commit
dcea48a5e1
@ -64,7 +64,7 @@ SetPasswordJob::make_salt( int length )
|
|||||||
cWarning() << "Entropy data for salt is low-quality.";
|
cWarning() << "Entropy data for salt is low-quality.";
|
||||||
}
|
}
|
||||||
|
|
||||||
salt_string.insert( 0, "$6$" );
|
salt_string.insert( 0, "$y$" );
|
||||||
salt_string.append( '$' );
|
salt_string.append( '$' );
|
||||||
return salt_string;
|
return salt_string;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user