Correct v4 generation

It's SH256, not SHA1
This commit is contained in:
JustArchi
2019-07-22 13:39:12 +02:00
parent 0ca7d40490
commit a79720f0b5

View File

@@ -100,7 +100,7 @@ namespace ArchiSteamFarm {
switch (steamParentalAlgorithm) {
case ESteamParentalAlgorithm.Pbkdf2:
using (HMACSHA1 hmacAlgorithm = new HMACSHA1(password)) {
using (HMACSHA256 hmacAlgorithm = new HMACSHA256(password)) {
return Pbkdf2.ComputeDerivedKey(hmacAlgorithm, salt, SteamParentalPbkdf2Iterations, hashLength);
}
case ESteamParentalAlgorithm.SCrypt: