Crypto.HashPassword(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an RFC 2898 hash value for the specified password.
public static string HashPassword (string password);
static member HashPassword : string -> string
Public Shared Function HashPassword (password As String) As String
Parameters
- password
- String
The password to generate a hash value for.
Returns
The hash value for password
as a base-64-encoded string.
Exceptions
password
is null.