Revert "feat:Downgrade to .NET Framework 4.6.2 project (#415)"

This reverts commit eb2f65e6e5.
This commit is contained in:
2026-04-05 10:52:45 +08:00
parent eb2f65e6e5
commit 25dc6a00d3
8 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ namespace Ink_Canvas.Helpers
/// <returns>派生出的密钥字节数组,长度等于 <paramref name="keyBytes"/>。</returns>
private static byte[] DeriveKey(string password, byte[] salt, int keyBytes)
{
// 注意:Rfc2898DeriveBytes 在 net462 默认 HMACSHA1
// 注意:Rfc2898DeriveBytes 在 net472 默认 HMACSHA1
using (var kdf = new Rfc2898DeriveBytes(password, salt, Pbkdf2Iterations))
{
return kdf.GetBytes(keyBytes);