From 46dac6fbe3887293aed24ba1f50aa3364cd7416b Mon Sep 17 00:00:00 2001 From: Zafer Balkan Date: Thu, 29 Jan 2026 09:57:54 +0200 Subject: [PATCH 1/2] Fixed typo --- TechnitiumLibrary.Security.Cryptography/PBKDF2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs b/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs index b0199d5d..cfaf4b0e 100644 --- a/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs +++ b/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs @@ -55,7 +55,7 @@ public static PBKDF2 CreateHMACSHA1(string password, byte[] salt, int iterationC public static PBKDF2 CreateHMACSHA1(byte[] password, byte[] salt, int iterationCount) { - return new PBKDF2(new HMACSHA256(password), salt, iterationCount); + return new PBKDF2(new HMACSHA1(password), salt, iterationCount); } public static PBKDF2 CreateHMACSHA1(string password, int saltLength, int iterationCount) From f887f75bae7c606457ae1498c1538da3c631f43e Mon Sep 17 00:00:00 2001 From: Zafer Balkan Date: Tue, 3 Feb 2026 19:17:49 +0200 Subject: [PATCH 2/2] Added copyright --- TechnitiumLibrary.Security.Cryptography/PBKDF2.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs b/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs index cfaf4b0e..131e67e0 100644 --- a/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs +++ b/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs @@ -1,6 +1,7 @@ /* Technitium Library Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2026 Zafer Balkan (zafer@zaferbalkan.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by