Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Explain that Windows 8's version is 6.2.
Co-authored-by: Jeff Handley <[email protected]>
  • Loading branch information
teo-tsirpanis and jeffhandley committed Sep 7, 2021
commit 13fbffb4cfc79fa37178c632bff535b29189dcba
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ namespace Internal.Cryptography
{
internal static partial class Pbkdf2Implementation
{
// For Windows 7 we will use BCryptDeriveKeyPBKDF2. For Windows 8+ we will use BCryptKeyDerivation
// since it has better performance.
// For Windows 7 we will use BCryptDeriveKeyPBKDF2. For Windows 8+ (seen as version 6.2.0) we will
// use BCryptKeyDerivation since it has better performance.
private static readonly bool s_useKeyDerivation = OperatingSystem.IsWindowsVersionAtLeast(6, 2);

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