CapyKit/Documentation/Help/M_CapyKit_Password__ctor.md

41 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-04-21 03:30:36 -05:00
# Password Constructor
Constructor.
## Definition
**Namespace:** <a href="N_CapyKit.md">CapyKit</a>
2024-09-04 19:31:43 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
2024-04-21 03:30:36 -05:00
**C#**
``` C#
2024-08-27 18:54:36 -05:00
public Password(
2024-04-21 03:30:36 -05:00
string password,
byte[] salt,
IPasswordAlgorithm algorithm,
params Object[] args
)
```
**F#**
``` F#
new :
password : string *
salt : byte[] *
algorithm : IPasswordAlgorithm *
args : Object[] -> Password
```
#### Parameters
<dl><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a></dt><dd>The password to be hashed.</dd><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.byte" target="_blank" rel="noopener noreferrer">Byte</a>[]</dt><dd>The salt used for encryption.</dd><dt>  <a href="T_CapyKit_IPasswordAlgorithm.md">IPasswordAlgorithm</a></dt><dd>The algorithm used for password encryption.</dd><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>[]</dt><dd>A variable-length parameters list containing arguments to include for the <em>algorithm</em>.</dd></dl>
## See Also
#### Reference
<a href="T_CapyKit_Password.md">Password Class</a>
<a href="N_CapyKit.md">CapyKit Namespace</a>