mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-10-18 15:01:52 -05:00
52 lines
1 KiB
Markdown
52 lines
1 KiB
Markdown
|
# HashPassword Method
|
|||
|
|
|||
|
|
|||
|
Hashes an unencrypted password.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
## Definition
|
|||
|
**Namespace:** <a href="N_CapyKit_Helpers">CapyKit.Helpers</a>
|
|||
|
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d
|
|||
|
|
|||
|
**C#**
|
|||
|
``` C#
|
|||
|
public static string HashPassword(
|
|||
|
string password
|
|||
|
)
|
|||
|
```
|
|||
|
**VB**
|
|||
|
``` VB
|
|||
|
Public Shared Function HashPassword (
|
|||
|
password As String
|
|||
|
) As String
|
|||
|
```
|
|||
|
**C++**
|
|||
|
``` C++
|
|||
|
public:
|
|||
|
static String^ HashPassword(
|
|||
|
String^ password
|
|||
|
)
|
|||
|
```
|
|||
|
**F#**
|
|||
|
``` F#
|
|||
|
static member HashPassword :
|
|||
|
password : string -> string
|
|||
|
```
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#### Parameters
|
|||
|
<dl><dt> <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a></dt><dd>The password.</dd></dl>
|
|||
|
|
|||
|
#### Return Value
|
|||
|
<a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a>
|
|||
|
The hashed password.
|
|||
|
|
|||
|
## See Also
|
|||
|
|
|||
|
|
|||
|
#### Reference
|
|||
|
<a href="T_CapyKit_Helpers_SecurityHelper">SecurityHelper Class</a>
|
|||
|
<a href="N_CapyKit_Helpers">CapyKit.Helpers Namespace</a>
|