# IPasswordAlgorithm Interface
Defines the contract for password encryption algorithms.
## Definition
**Namespace:** CapyKit
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d
**C#**
``` C#
public interface IPasswordAlgorithm
```
**VB**
``` VB
Public Interface IPasswordAlgorithm
```
**C++**
``` C++
public interface class IPasswordAlgorithm
```
**F#**
``` F#
type IPasswordAlgorithm = interface end
```
## Properties
## 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