# IPasswordAlgorithm Interface
Defines the contract for password encryption algorithms.
## Definition
**Namespace:** CapyKit
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public interface 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