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