From a79720f0b55172280f1ed7fb64be58b832910fef Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 22 Jul 2019 13:39:12 +0200 Subject: [PATCH] Correct v4 generation It's SH256, not SHA1 --- ArchiSteamFarm/ArchiCryptoHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/ArchiCryptoHelper.cs b/ArchiSteamFarm/ArchiCryptoHelper.cs index 3f9020cc7..5cec3c6ee 100644 --- a/ArchiSteamFarm/ArchiCryptoHelper.cs +++ b/ArchiSteamFarm/ArchiCryptoHelper.cs @@ -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: