PBKDF2.NET is a .NET Library that extends the System.Security.Cryptography namespace providing adaptive password-based key derivation functionality (PBKDF2) using any HMAC implementation you choose.
PBKDF2.NET allows you to dynamically specify any valid System.Security.HMAC-derived hash algorithm implementation, whether a built-in .NET type or a custom implementation. To use your own custom System.Security.Cryptography.HMAC-derived implementation, you simply register your type with the application domain (for example: via the CryptoConfig class) and you will be able to provide it's identifier string to the constructor when initializing an instance of System.Security.Cryptography.PBKDF2.
A robust configuration implementation is also included via the System.Configuration.PBKDF2Section class. With this configuration section, you can specify a default iteration count, a default HMAC algorithm and a default salt size. When any of these values are not specified during initialization, the configured defaults are used. Upon installation of the package, the following configuration defaults will be assigned:
iterationCount: 1000 (MIN: 1, MAX: Int.MaxValue)
saltSize: 8 (bytes) (MIN: 8, MAX: 65536)
This project is licensed under the MIT License included in the package.
The assembly contains full type documentation and a downloadable documentation package will be available soon.
See the version list below for details.
Install-Package PBKDF2.NET -Version 1.0.1
dotnet add package PBKDF2.NET --version 1.0.1
<PackageReference Include="PBKDF2.NET" Version="1.0.1" />
paket add PBKDF2.NET --version 1.0.1
This package has no dependencies.
This package is not used by any popular GitHub repositories.