CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2_1.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -05:00

1.6 KiB

Pbkdf2(String, Byte[]) Method

Generates a new Password object using the PBKDF2 algorithm with the provided password and salt.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0

C#

public static Password Pbkdf2(
	string password,
	byte[] salt
)

F#

static member Pbkdf2 : 
        password : string * 
        salt : byte[] -> Password 

Parameters

  String
The clear text password to be hashed.
  Byte[]
A random value used to add an additional layer of security to the generated hash.

Return Value

Password
A new Password object containing the hashed password and salt.

Remarks

This method uses the PBKDF2 (Password-Based Key Derivation Function 2) algorithm to generate a new password hash. The algorithm iteratively applies a pseudorandom function to the password and salt, which increases the security of the resulting hash.

See Also

Reference

SecurityHelper Class
Pbkdf2 Overload
CapyKit.Helpers Namespace