# Pbkdf2Algorithm Class Implements the PBKDF2 algorithm for password encryption. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d **C#** ``` C# public class Pbkdf2Algorithm : IPasswordAlgorithm ``` **F#** ``` F# type Pbkdf2Algorithm = class interface IPasswordAlgorithm end ```
| Inheritance | Object → Pbkdf2Algorithm |
| Implements | IPasswordAlgorithm |
| Pbkdf2Algorithm | Initializes a new instance of the Pbkdf2Algorithm class |
| AlgorithmName | Gets the name of the algorithm. |
| Encrypt | Encrypts the given password using a PBKDF2 algorithm. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| ITERATIONS | The default number of iterations. |
| LENGTH | (Immutable) The default length. |