Skip to content

Commit 13fbffb

Browse files
Explain that Windows 8's version is 6.2.
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
1 parent 016b9de commit 13fbffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libraries/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/Pbkdf2Implementation.Windows.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ namespace Internal.Cryptography
1616
{
1717
internal static partial class Pbkdf2Implementation
1818
{
19-
// For Windows 7 we will use BCryptDeriveKeyPBKDF2. For Windows 8+ we will use BCryptKeyDerivation
20-
// since it has better performance.
19+
// For Windows 7 we will use BCryptDeriveKeyPBKDF2. For Windows 8+ (seen as version 6.2.0) we will
20+
// use BCryptKeyDerivation since it has better performance.
2121
private static readonly bool s_useKeyDerivation = OperatingSystem.IsWindowsVersionAtLeast(6, 2);
2222

2323
// A cached instance of PBKDF2 for Windows 8, where pseudo handles are not supported.

0 commit comments

Comments
 (0)