On line 58, we see that SHA1-related function uses SHA256 internally. Is this a workaround? The git blame result tells it is like that for at least 5 years.
|
public static PBKDF2 CreateHMACSHA1(byte[] password, byte[] salt, int iterationCount) |
|
{ |
|
return new PBKDF2(new HMACSHA256(password), salt, iterationCount); |
|
} |
On line 58, we see that SHA1-related function uses SHA256 internally. Is this a workaround? The
git blameresult tells it is like that for at least 5 years.TechnitiumLibrary/TechnitiumLibrary.Security.Cryptography/PBKDF2.cs
Lines 56 to 59 in a11ca1e