mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Correct v4 generation
It's SH256, not SHA1
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user