2024-04-19 23:12:24 -05:00
|
|
|
# IPasswordAlgorithm Interface
|
|
|
|
|
|
|
|
|
|
|
|
Defines the contract for password encryption algorithms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Definition
|
|
|
|
**Namespace:** <a href="N_CapyKit">CapyKit</a>
|
2024-04-21 01:20:26 -05:00
|
|
|
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d
|
2024-04-19 23:12:24 -05:00
|
|
|
|
|
|
|
**C#**
|
|
|
|
``` C#
|
|
|
|
public interface IPasswordAlgorithm
|
|
|
|
```
|
|
|
|
**F#**
|
|
|
|
``` F#
|
|
|
|
type IPasswordAlgorithm = interface end
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a href="P_CapyKit_IPasswordAlgorithm_AlgorithmName">AlgorithmName</a></td>
|
|
|
|
<td>Gets the name of the algorithm.</td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a href="M_CapyKit_IPasswordAlgorithm_Compare">Compare</a></td>
|
|
|
|
<td>Compares the given plaintext password with an encrypted value using PBKDF2 algorithm.</td></tr>
|
|
|
|
<tr>
|
|
|
|
<td><a href="M_CapyKit_IPasswordAlgorithm_Encrypt">Encrypt</a></td>
|
|
|
|
<td>Encrypts the given password using a defined algorithm.</td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
|
|
|
|
#### Reference
|
|
|
|
<a href="N_CapyKit">CapyKit Namespace</a>
|