From 46dac6fbe3887293aed24ba1f50aa3364cd7416b Mon Sep 17 00:00:00 2001 From: Zafer Balkan Date: Thu, 29 Jan 2026 09:57:54 +0200 Subject: [PATCH 1/3] 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/3] 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 From 57540d2bad249a0769e18e658f5c6dd00ee3310a Mon Sep 17 00:00:00 2001 From: Zafer Balkan Date: Mon, 9 Feb 2026 11:30:28 +0200 Subject: [PATCH 3/3] Revert "Added copyright" This reverts commit f887f75bae7c606457ae1498c1538da3c631f43e. --- TechnitiumLibrary.Security.Cryptography/PBKDF2.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs b/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs index 131e67e0..cfaf4b0e 100644 --- a/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs +++ b/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs @@ -1,7 +1,6 @@ /* 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