# IPasswordAlgorithm Interface Defines the contract for password encryption algorithms. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 **C#** ``` C# public interface IPasswordAlgorithm ``` **F#** ``` F# type IPasswordAlgorithm = interface end ``` ## Properties
AlgorithmName Gets the name of the algorithm.
## Methods
Compare Compares the given plaintext password with an encrypted value using PBKDF2 algorithm.
Encrypt Encrypts the given password using a defined algorithm.
## See Also #### Reference CapyKit Namespace